Browse Source

fix: pass colMeta by value instead of reference

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/2132/head
mertmit 3 years ago
parent
commit
25d48a4928
  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