From daaca0d9803f0701db4e82cc7d5f362fab68bbbc Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 6 Dec 2022 00:05:55 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=97=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- packages/client/src/pages/timeline.vue | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 3d564400c..7a84602fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.19-b9", + "version": "12.119.0-calc.19-b10", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index bfbaada9c..e00770527 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -144,17 +144,17 @@ function top(): void { async function chooseList(ev: MouseEvent): Promise { const lists = await os.api('users/lists/list'); - const items = lists.map((list) => ({ - type: 'link' as const, - text: list.name, - icon: '', - to: `/timeline/list/${list.id}`, - })).unshift({ + const items = [{ type: 'link' as const, text: i18n.ts.manageLists, icon: 'ph-faders-horizontal-bold ph-lg', to: '/my/lists', - }); + }].concat(lists.map((list) => ({ + type: 'link' as const, + text: list.name, + icon: '', + to: `/timeline/list/${list.id}`, + }))); os.popupMenu(items, ev.currentTarget ?? ev.target); }