Browse Source

fix(gui-v2): use isCurrency as ref

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3134/head
mertmit 2 years ago
parent
commit
32f50cca4b
  1. 4
      packages/nc-gui-v2/composables/useColumnCreateStore.ts

4
packages/nc-gui-v2/composables/useColumnCreateStore.ts

@ -118,7 +118,7 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState
}
}
if (isCurrency) {
if (isCurrency.value) {
if (column?.value?.uidt === UITypes.Currency) {
formState.value.dtxp = column.value.dtxp
formState.value.dtxs = column.value.dtxs
@ -151,7 +151,7 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState
formState.value.dtxp = column?.value.dtxp
}
if (isCurrency) {
if (isCurrency.value) {
if (column?.value?.uidt === UITypes.Currency) {
formState.value.dtxp = column.value.dtxp
formState.value.dtxs = column.value.dtxs

Loading…
Cancel
Save