Browse Source

fix(gui-v2): conditionally display tooltip on currency option

pull/2963/head
Wing-Kam Wong 2 years ago
parent
commit
514ebf518a
  1. 4
      packages/nc-gui-v2/components/smartsheet-column/CurrencyOptions.vue

4
packages/nc-gui-v2/components/smartsheet-column/CurrencyOptions.vue

@ -62,7 +62,7 @@ function filterOption(input: string, option: Option) {
</script>
<template>
<a-tooltip>
<a-tooltip :visible="isMoney && isPg">
<template #title>
<span>{{ message }}</span>
</template>
@ -76,6 +76,7 @@ function filterOption(input: string, option: Option) {
show-search
:options="currencyLocaleList ?? []"
:filter-option="filterOption"
:disabled="isMoney && isPg"
/>
</a-form-item>
</a-col>
@ -87,6 +88,7 @@ function filterOption(input: string, option: Option) {
show-search
:filter-option="filterOption"
size="small"
:disabled="isMoney && isPg"
>
<a-select-option v-for="(currencyCode, i) in currencyList ?? []" :key="i" :value="currencyCode">
{{ currencyCode }}

Loading…
Cancel
Save