fixes
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user