up...
This commit is contained in:
@@ -95,19 +95,19 @@
|
||||
|
||||
<router-link
|
||||
v-if="userStore.role === 'admin'"
|
||||
to="/olap-constructor"
|
||||
to="/olap/queries"
|
||||
class="flex items-center rounded-lg hover:bg-gray-100 transition-colors group"
|
||||
:class="[
|
||||
route.path === '/olap-constructor' ? 'bg-primary-50 text-primary-700' : 'text-gray-700',
|
||||
route.path === '/olap/queries' ? 'bg-primary-50 text-primary-700' : 'text-gray-700',
|
||||
sidebarCollapsed ? 'justify-center p-2' : 'px-4 py-3 space-x-3'
|
||||
]"
|
||||
:title="sidebarCollapsed ? 'OLAP Конструктор' : ''"
|
||||
:title="sidebarCollapsed ? 'OLAP Queries' : ''"
|
||||
>
|
||||
<svg class="w-5 h-5 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 6v12M16 6v12" />
|
||||
</svg>
|
||||
<span v-if="!sidebarCollapsed" class="truncate">OLAP Конструктор</span>
|
||||
<span v-if="!sidebarCollapsed" class="truncate">OLAP Queries</span>
|
||||
</router-link>
|
||||
|
||||
<router-link
|
||||
|
||||
Reference in New Issue
Block a user