mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 06:45:11 +00:00
hide actions in mobile layout
This commit is contained in:
parent
484a39c658
commit
9ddab63a6a
1 changed files with 4 additions and 5 deletions
|
@ -169,12 +169,12 @@ const userNotesPagination: Paging<'users/notes'> = {
|
|||
})),
|
||||
};
|
||||
|
||||
const headerActions: PageHeaderItem[] = [
|
||||
const headerActions = computed(() => isWideViewport.value ? [
|
||||
{
|
||||
icon: 'ti ti-refresh',
|
||||
text: i18n.ts.reload,
|
||||
handler: () => reload(),
|
||||
},
|
||||
} satisfies PageHeaderItem,
|
||||
{
|
||||
icon: 'ti ti-dots',
|
||||
text: i18n.ts.options,
|
||||
|
@ -191,9 +191,8 @@ const headerActions: PageHeaderItem[] = [
|
|||
},
|
||||
], ev.currentTarget ?? ev.target);
|
||||
},
|
||||
},
|
||||
|
||||
];
|
||||
} satisfies PageHeaderItem,
|
||||
] : []);
|
||||
|
||||
const headerTabs = computed(() => [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue