diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index f16dcd66ed..09e2a6e4b9 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -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',