From a958d27fd74dc3e2313e3d09200013eea361011f Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 6 Dec 2022 00:10:00 -0800 Subject: [PATCH] bleh!!!! --- package.json | 2 +- packages/client/src/pages/timeline.vue | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 7a84602fd..5cf72bf5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.19-b10", + "version": "12.119.0-calc.19-b11", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index e00770527..cb811c592 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -160,19 +160,19 @@ async function chooseList(ev: MouseEvent): Promise { async function chooseAntenna(ev: MouseEvent): Promise { const antennas = await os.api('antennas/list'); - const items = antennas.map((antenna) => ({ - type: 'link' as const, - text: antenna.name, - icon: '', - indicate: antenna.hasUnreadNote, - to: `/timeline/antenna/${antenna.id}`, - })).unshift({ + const items = [{ type: 'link' as const, indicate: false, text: i18n.ts.manageAntennas, icon: 'ph-faders-horizontal-bold ph-lg', to: '/my/antennas', - }); + }].concat(antennas.map((antenna) => ({ + type: 'link' as const, + text: antenna.name, + icon: '', + indicate: antenna.hasUnreadNote, + to: `/timeline/antenna/${antenna.id}`, + }))); os.popupMenu(items, ev.currentTarget ?? ev.target); }