Browse Source

fix: default colMeta on new column creation

Signed-off-by: mertmit <mertmit99@gmail.com>
feat/0523-export-schema
mertmit 3 years ago committed by Raju Udava
parent
commit
fccdd9c69a
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/editColumn/CheckboxOptions.vue
  2. 2
      packages/nc-gui/components/project/spreadsheet/components/editColumn/CurrencyOptions.vue
  3. 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() {
this.colMeta = { ...this.value } || { ...this.colMeta }
this.colMeta = this.value ? { ...this.value } : { ...this.colMeta }
}
}
</script>

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

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

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

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

Loading…
Cancel
Save