Browse Source

misc: column name correction

pull/6919/head
Raju Udava 1 year ago
parent
commit
6d103911b0
  1. 8
      packages/nc-gui/components/dashboard/settings/UIAcl.vue

8
packages/nc-gui/components/dashboard/settings/UIAcl.vue

@ -110,11 +110,11 @@ const tableHeaderRenderer = (label: string) => () => h('div', { class: 'text-gra
const columns = [ const columns = [
{ {
title: tableHeaderRenderer(t('labels.tableName')), title: tableHeaderRenderer(t('labels.tableName')),
name: 'table_name', name: 'Table Name',
}, },
{ {
title: tableHeaderRenderer(t('labels.viewName')), title: tableHeaderRenderer(t('labels.viewName')),
name: 'view_name', name: 'View Name',
}, },
{ {
title: tableHeaderRenderer(t('objects.roleType.editor')), title: tableHeaderRenderer(t('objects.roleType.editor')),
@ -203,7 +203,7 @@ const toggleSelectAll = (role: Role) => {
</template> </template>
<template #bodyCell="{ record, column }"> <template #bodyCell="{ record, column }">
<div v-if="column.name === 'table_name'"> <div v-if="column.name === 'Table Name'">
<div class="flex items-center gap-1"> <div class="flex items-center gap-1">
<div class="min-w-5 flex items-center justify-center"> <div class="min-w-5 flex items-center justify-center">
<GeneralTableIcon :meta="{ meta: record.table_meta, type: record.ptype }" class="text-gray-500" /> <GeneralTableIcon :meta="{ meta: record.table_meta, type: record.ptype }" class="text-gray-500" />
@ -214,7 +214,7 @@ const toggleSelectAll = (role: Role) => {
</div> </div>
</div> </div>
<div v-if="column.name === 'view_name'"> <div v-if="column.name === 'View Name'">
<div class="flex items-center gap-1"> <div class="flex items-center gap-1">
<div class="min-w-5 flex items-center justify-center"> <div class="min-w-5 flex items-center justify-center">
<GeneralViewIcon :meta="record" class="text-gray-500"></GeneralViewIcon> <GeneralViewIcon :meta="record" class="text-gray-500"></GeneralViewIcon>

Loading…
Cancel
Save