fix login spaces
This commit is contained in:
@@ -12,7 +12,8 @@
|
|||||||
<!-- fill="var(--p-text-color)"-->
|
<!-- fill="var(--p-text-color)"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- </svg>-->
|
<!-- </svg>-->
|
||||||
<button @click="router.push('/').then(router.go(0))"><img alt="logo" src="/apple-touch-icon.png" width="32" height="32"/></button>
|
<button @click="router.push('/').then(router.go(0))"><img alt="logo" src="/apple-touch-icon.png" width="32"
|
||||||
|
height="32"/></button>
|
||||||
</template>
|
</template>
|
||||||
<template #item="{ item, props, hasSubmenu, root }">
|
<template #item="{ item, props, hasSubmenu, root }">
|
||||||
<router-link :to="item.url" v-ripple class="flex items-center" v-bind="props.action">
|
<router-link :to="item.url" v-ripple class="flex items-center" v-bind="props.action">
|
||||||
@@ -53,7 +54,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Сообщение "Скопировано" -->
|
<!-- Сообщение "Скопировано" -->
|
||||||
<div v-if="copied" class="absolute bottom-[-60px] bg-green-500 text-white text-xs px-2 py-1 rounded transition-opacity">
|
<div v-if="copied"
|
||||||
|
class="absolute bottom-[-60px] bg-green-500 text-white text-xs px-2 py-1 rounded transition-opacity">
|
||||||
Скопировано!
|
Скопировано!
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -102,6 +104,8 @@ watch(
|
|||||||
selectedSpace,
|
selectedSpace,
|
||||||
(newValue, oldValue) => {
|
(newValue, oldValue) => {
|
||||||
if (newValue) {
|
if (newValue) {
|
||||||
|
const item = items.value.find((item) => item.label == 'Запись')
|
||||||
|
if (!item) {
|
||||||
items.value.push({
|
items.value.push({
|
||||||
label: 'Запись',
|
label: 'Запись',
|
||||||
icon: 'pi pi-plus',
|
icon: 'pi pi-plus',
|
||||||
@@ -114,6 +118,7 @@ watch(
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user