This commit is contained in:
ThatOneCalculator 2022-12-06 00:05:55 -08:00
parent 950421b84c
commit 266229daec
2 changed files with 8 additions and 8 deletions

View file

@ -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",

View file

@ -144,17 +144,17 @@ function top(): void {
async function chooseList(ev: MouseEvent): Promise<void> {
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);
}