chore: rename to Elk
This commit is contained in:
parent
674879cb7f
commit
129e12c217
12 changed files with 35 additions and 69 deletions
|
@ -1,10 +1,12 @@
|
|||
<script setup lang="ts">
|
||||
import { STORAGE_KEY_NOTIFY_TAB } from '~/constants'
|
||||
|
||||
definePageMeta({
|
||||
middleware: 'auth',
|
||||
})
|
||||
|
||||
const tabNames = ['All', 'Mentions'] as const
|
||||
const tab = $(useLocalStorage<typeof tabNames[number]>('nuxtodon-notifications-tab', 'All'))
|
||||
const tab = $(useLocalStorage<typeof tabNames[number]>(STORAGE_KEY_NOTIFY_TAB, 'All'))
|
||||
|
||||
const paginator = $computed(() => {
|
||||
return masto.notifications.getIterator(tab === 'All' ? undefined : { types: ['mention'] })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue