fix login spaces
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
<!-- fill="var(--p-text-color)"-->
|
||||
<!-- />-->
|
||||
<!-- </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 #item="{ item, props, hasSubmenu, root }">
|
||||
<router-link :to="item.url" v-ripple class="flex items-center" v-bind="props.action">
|
||||
@@ -53,7 +54,8 @@
|
||||
</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>
|
||||
@@ -102,6 +104,8 @@ watch(
|
||||
selectedSpace,
|
||||
(newValue, oldValue) => {
|
||||
if (newValue) {
|
||||
const item = items.value.find((item) => item.label == 'Запись')
|
||||
if (!item) {
|
||||
items.value.push({
|
||||
label: 'Запись',
|
||||
icon: 'pi pi-plus',
|
||||
@@ -114,6 +118,7 @@ watch(
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user