|
|
|
@ -188,7 +188,7 @@ const addTableTab = (table: TableType) => {
|
|
|
|
|
:class="[ |
|
|
|
|
{ hidden: !filteredTables?.includes(table) }, |
|
|
|
|
`nc-project-tree-tbl nc-project-tree-tbl-${table.title}`, |
|
|
|
|
route.params.title.includes(table.title) ? 'bg-blue-500/15' : '', |
|
|
|
|
route.params.title && route.params.title.includes(table.title) ? 'bg-blue-500/15' : '', |
|
|
|
|
]" |
|
|
|
|
class="pl-5 pr-3 py-2 text-sm cursor-pointer group" |
|
|
|
|
:data-order="table.order" |
|
|
|
@ -205,7 +205,7 @@ const addTableTab = (table: TableType) => {
|
|
|
|
|
|
|
|
|
|
<component |
|
|
|
|
:is="icon(table)" |
|
|
|
|
:class="route.params.title.includes(table.title) ? 'text-pink-500' : 'text-gray-500'" |
|
|
|
|
:class="route.params.title && route.params.title.includes(table.title) ? 'text-pink-500' : 'text-gray-500'" |
|
|
|
|
class="nc-view-icon group-hover:hidden text-xs" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|