Browse Source

fix: ui warning corrections

pull/7405/head
Pranav C 12 months ago
parent
commit
9376fd2c54
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue
  2. 3
      packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue
  3. 2
      packages/nc-gui/components/workspace/CollaboratorsList.vue

4
packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

@ -387,7 +387,7 @@ useMenuCloseOnEsc(open)
<template #default>{{ field.title }}</template>
</NcTooltip>
<NcSwitch v-e="['a:fields:show-hide']" :checked="field.show" :disabled="field.isViewEssentialField" />
<NcSwitch :checked="field.show" :disabled="field.isViewEssentialField" @change="$t('a:fields:show-hide')" />
</div>
<div class="flex-1" />
@ -411,7 +411,7 @@ useMenuCloseOnEsc(open)
<template #default>{{ filteredFieldList[0].title }}</template>
</NcTooltip>
<NcSwitch v-e="['a:fields:show-hide']" :checked="true" :disabled="true" />
<NcSwitch :checked="true" :disabled="true" />
</div>
</template>
</Draggable>

3
packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue

@ -47,7 +47,8 @@ import Text from '~/components/cell/Text.vue'
import User from '~/components/cell/User.vue'
interface Props {
column: ColumnType
// column could be possibly undefined when the filter is created
column?: ColumnType
filter: Filter
}

2
packages/nc-gui/components/workspace/CollaboratorsList.vue

@ -67,7 +67,7 @@ onMounted(async () => {
</div>
<WorkspaceInviteSection v-if="workspaceRole !== WorkspaceUserRoles.VIEWER" />
<div v-if="!filterCollaborators?.length" class="w-full h-full flex flex-col items-center justify-center mt-36">
<Empty description="No members found" />
<a-empty description="No members found" />
</div>
<div v-else class="nc-collaborators-list mt-6 h-full">
<div class="flex flex-col rounded-lg overflow-hidden border-1 max-w-350 max-h-[calc(100%-8rem)]">

Loading…
Cancel
Save