diff --git a/package.json b/package.json index a30e97a54..8ac74cc91 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.19-b7", + "version": "12.119.0-calc.19-b8", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 5a0e0214e..cb786ef23 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -144,31 +144,29 @@ function top(): void { async function chooseList(ev: MouseEvent): Promise { const lists = await os.api('users/lists/list'); - let items = lists.map((list) => ({ + const items = lists.map((list) => ({ type: 'link' as const, text: list.name, icon: '', to: `/timeline/list/${list.id}`, - })); - items.concat([{ + })).concat([{ type: 'link' as const, text: i18n.ts.manageLists, icon: 'ph-faders-horizontal-bold ph-lg', - to: '/my/antennas', + to: '/my/lists', }]); os.popupMenu(items, ev.currentTarget ?? ev.target); } async function chooseAntenna(ev: MouseEvent): Promise { const antennas = await os.api('antennas/list'); - let items = antennas.map((antenna) => ({ + const items = antennas.map((antenna) => ({ type: 'link' as const, text: antenna.name, icon: '', indicate: antenna.hasUnreadNote, to: `/timeline/antenna/${antenna.id}`, - })); - items.concat([{ + })).concat([{ type: 'link' as const, indicate: false, text: i18n.ts.manageLists,