Comment out NotificationPermission component in Home.vue for future push notification implementation. Added TODO notes for re-enabling once properly implemented.

This commit is contained in:
padreug 2025-09-17 11:55:37 +02:00
parent ddb961c55a
commit 4a590bacae

View file

@ -1,7 +1,8 @@
<template> <template>
<div class="w-full px-4 sm:px-6 lg:px-8 xl:px-12 2xl:px-16 py-8 space-y-6"> <div class="w-full px-4 sm:px-6 lg:px-8 xl:px-12 2xl:px-16 py-8 space-y-6">
<PWAInstallPrompt auto-show /> <PWAInstallPrompt auto-show />
<NotificationPermission auto-show /> <!-- TODO: Implement push notifications properly - currently commenting out admin notifications dialog -->
<!-- <NotificationPermission auto-show /> -->
<NostrFeed feed-type="announcements" /> <NostrFeed feed-type="announcements" />
</div> </div>
</template> </template>
@ -9,6 +10,7 @@
<script setup lang="ts"> <script setup lang="ts">
// NostrFeed is now registered globally by the nostr-feed module // NostrFeed is now registered globally by the nostr-feed module
// No need to import it directly - use the modular version // No need to import it directly - use the modular version
import NotificationPermission from '@/components/notifications/NotificationPermission.vue' // TODO: Re-enable when push notifications are properly implemented
// import NotificationPermission from '@/components/notifications/NotificationPermission.vue'
import PWAInstallPrompt from '@/components/pwa/PWAInstallPrompt.vue' import PWAInstallPrompt from '@/components/pwa/PWAInstallPrompt.vue'
</script> </script>