separate following feed's menu component from the actual filter options
This commit is contained in:
parent
4a43e1a9e9
commit
2b0a622875
3 changed files with 46 additions and 60 deletions
|
|
@ -20,7 +20,7 @@ import { PageHeaderItem } from '@/types/page-header.js';
|
|||
import MkPageHeader from '@/components/global/MkPageHeader.vue';
|
||||
import SkUserRecentNotes from '@/components/SkUserRecentNotes.vue';
|
||||
import { acct } from '@/filters/user.js';
|
||||
import { createModel, createOptions } from '@/scripts/following-feed-utils.js';
|
||||
import { createModel, createHeaderItem } from '@/scripts/following-feed-utils.js';
|
||||
import MkStickyContainer from '@/components/global/MkStickyContainer.vue';
|
||||
|
||||
defineProps<{
|
||||
|
|
@ -44,7 +44,7 @@ const headerActions: PageHeaderItem[] = [
|
|||
text: i18n.ts.reload,
|
||||
handler: () => userRecentNotes.value?.reload(),
|
||||
},
|
||||
createOptions(),
|
||||
createHeaderItem(),
|
||||
];
|
||||
|
||||
// Based on user/index.vue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue