From a3423bad601ae3577129e4d4c88afb659569af31 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 19 May 2023 09:14:54 +0900 Subject: [PATCH] tweak --- packages/frontend/src/pages/emoji-edit-dialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/emoji-edit-dialog.vue b/packages/frontend/src/pages/emoji-edit-dialog.vue index e36a26638..3208c9273 100644 --- a/packages/frontend/src/pages/emoji-edit-dialog.vue +++ b/packages/frontend/src/pages/emoji-edit-dialog.vue @@ -117,7 +117,7 @@ async function addRole() { const currentRoleIds = rolesThatCanBeUsedThisEmojiAsReaction.map(x => x.id); const { canceled, result: role } = await os.select({ - items: roles.filter(r => !currentRoleIds.includes(r.id)).map(r => ({ text: r.name, value: r })), + items: roles.filter(r => r.isPublic).filter(r => !currentRoleIds.includes(r.id)).map(r => ({ text: r.name, value: r })), }); if (canceled) return;