From 194571b2a7c9b3c808b82bb055896fac95b020c1 Mon Sep 17 00:00:00 2001 From: ltlapy Date: Mon, 6 Mar 2023 10:58:52 +0900 Subject: [PATCH] fix(backend): not fully commented --- .../frontend/src/scripts/get-user-menu.ts | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 2a39c0b5aa..501f21959d 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -22,18 +22,18 @@ export function getUserMenu(user: misskey.entities.UserDetailed, router: Router // }); // return; // } - const { canceled, result: listId } = await os.select({ - title: t, - items: lists.map(list => ({ - value: list.id, text: list.name, - })), - }); - if (canceled) return; - os.apiWithDialog('users/lists/push', { - listId: listId, - userId: user.id, - }); - } + // const { canceled, result: listId } = await os.select({ + // title: t, + // items: lists.map(list => ({ + // value: list.id, text: list.name, + // })), + // }); + // if (canceled) return; + // os.apiWithDialog('users/lists/push', { + // listId: listId, + // userId: user.id, + // }); + // } async function inviteGroup() { const groups = await os.api('users/groups/owned');