Browse Source

fix: pass colMeta by value instead of reference

Signed-off-by: mertmit <mertmit99@gmail.com>
feat/0523-export-schema
mertmit 3 years ago committed by Raju Udava
parent
commit
63572fd568
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/editColumn/CheckboxOptions.vue
  2. 2
      packages/nc-gui/components/project/spreadsheet/components/editColumn/RatingOptions.vue

2
packages/nc-gui/components/project/spreadsheet/components/editColumn/CheckboxOptions.vue

@ -82,7 +82,7 @@ export default {
} }
}, },
created() { created() {
this.colMeta = this.value || { ...this.colMeta } this.colMeta = { ...this.value } || { ...this.colMeta }
} }
} }
</script> </script>

2
packages/nc-gui/components/project/spreadsheet/components/editColumn/RatingOptions.vue

@ -87,7 +87,7 @@ export default {
} }
}, },
created() { created() {
this.colMeta = this.value || { ...this.colMeta } this.colMeta = { ...this.value } || { ...this.colMeta }
} }
} }
</script> </script>

Loading…
Cancel
Save