mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-13 23:20:50 +01:00
fix(frontend): モバイル環境でタイムラインの上段メニューに空のボタンが追加されている問題を修正 (MisskeyIO#224)
This commit is contained in:
parent
0ecda3d386
commit
29f6267aa5
1 changed files with 5 additions and 4 deletions
|
@ -122,13 +122,14 @@ function focus(): void {
|
|||
tlComponent.focus();
|
||||
}
|
||||
|
||||
const headerActions = $computed(() => [
|
||||
...[deviceKind === 'desktop' ? {
|
||||
const headerActions = $computed(() => deviceKind === 'desktop'
|
||||
? [{
|
||||
icon: 'ti ti-refresh',
|
||||
text: i18n.ts.reload,
|
||||
handler: () => { tlComponent.reloadTimeline(); },
|
||||
} : {}],
|
||||
]);
|
||||
}]
|
||||
: []
|
||||
);
|
||||
|
||||
const headerTabs = $computed(() => [{
|
||||
key: 'home',
|
||||
|
|
Loading…
Reference in a new issue