Browse Source

fix: review changes and select-option truncate issue

pull/7173/head
Ramesh Mane 12 months ago
parent
commit
d19abc75c1
  1. 2
      packages/nc-gui/components/account/Token.vue
  2. 4
      packages/nc-gui/components/cell/MultiSelect.vue
  3. 4
      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) => {
switch (type) {
case 'add': {

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

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

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

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

Loading…
Cancel
Save