fix build errors
This commit is contained in:
parent
8c39ca3599
commit
2a9915a727
7 changed files with 18 additions and 20 deletions
|
|
@ -134,7 +134,6 @@
|
|||
// TODO: Re-enable when push notifications are properly implemented
|
||||
// import NotificationPermission from '@/components/notifications/NotificationPermission.vue'
|
||||
import { ref, computed, watch } from 'vue'
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
|
||||
import { Filter, Plus, MessageSquare, Car } from 'lucide-vue-next'
|
||||
import PWAInstallPrompt from '@/components/pwa/PWAInstallPrompt.vue'
|
||||
import FeedFilters from '@/modules/nostr-feed/components/FeedFilters.vue'
|
||||
|
|
@ -187,7 +186,7 @@ const feedType = computed(() => {
|
|||
if (selectedFilters.value.length === 0) return 'all'
|
||||
|
||||
// Check if it matches a preset
|
||||
for (const [presetName, presetFilters] of Object.entries(FILTER_PRESETS)) {
|
||||
for (const [, presetFilters] of Object.entries(FILTER_PRESETS)) {
|
||||
if (presetFilters.length === selectedFilters.value.length &&
|
||||
presetFilters.every(pf => selectedFilters.value.some(sf => sf.id === pf.id))) {
|
||||
return 'custom' // Always use custom for proper filtering
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue