Browse Source

fix: review changes and select-option truncate issue

pull/7173/head
Ramesh Mane 11 months ago
parent
commit
d19abc75c1
  1. 2
      packages/nc-gui/components/account/Token.vue
  2. 2
      packages/nc-gui/components/cell/MultiSelect.vue
  3. 2
      packages/nc-gui/components/cell/SingleSelect.vue

2
packages/nc-gui/components/account/Token.vue

@ -79,7 +79,7 @@ const loadAllTokens = async (limit = pagination.total) => {
} }
} }
// This will updated allTokens local value instead of fetching all tokens on each operation (add|delete) // This will update allTokens local value instead of fetching all tokens on each operation (add|delete)
const updateAllTokens = (type: 'delete' | 'add', token: IApiTokenInfo) => { const updateAllTokens = (type: 'delete' | 'add', token: IApiTokenInfo) => {
switch (type) { switch (type) {
case 'add': { case 'add': {

2
packages/nc-gui/components/cell/MultiSelect.vue

@ -412,7 +412,9 @@ const selectedOpts = computed(() => {
}" }"
:class="{ 'text-sm': isKanban }" :class="{ 'text-sm': isKanban }"
> >
<GeneralTruncateText placement="top" :length="20">
{{ op.title }} {{ op.title }}
</GeneralTruncateText>
</span> </span>
</a-tag> </a-tag>
</a-select-option> </a-select-option>

2
packages/nc-gui/components/cell/SingleSelect.vue

@ -315,7 +315,9 @@ const selectedOpt = computed(() => {
}" }"
:class="{ 'text-sm': isKanban }" :class="{ 'text-sm': isKanban }"
> >
<GeneralTruncateText placement="top" :length="20">
{{ op.title }} {{ op.title }}
</GeneralTruncateText>
</span> </span>
</a-tag> </a-tag>
</a-select-option> </a-select-option>

Loading…
Cancel
Save