This commit is contained in:
Vladimir Voronin
2024-11-04 18:00:50 +03:00
parent 77f00597ee
commit 04fae4dec7

View File

@@ -7,7 +7,7 @@
<!-- Контентная часть заполняет оставшееся пространство -->
<div class="flex-grow ">
{{ tg_id }}
<!-- {{ tg_id }}-->
<Button label="Sub" :class="checkNotif ? 'flex' : '!hidden'" @click="checkSubscribe"/>
<router-view/>
</div>
@@ -26,7 +26,7 @@ import apiClient from '@/services/axiosSetup';
const checkNotif = computed(() => {
return !!tg_id.value && 'Notification' in window && Notification.permission === 'default'
return !tg_id.value && 'Notification' in window && Notification.permission === 'default'
})
const tg_id = computed(() => {