This commit is contained in:
mattyatea 2024-05-13 20:09:24 +09:00
parent ecac24d499
commit 2c294ff978
1 changed files with 4 additions and 4 deletions

View File

@ -128,10 +128,10 @@ async function setCategoryBulk() {
async function deletes() {
if (selectItemsId.value.length > 0) {
for (let i = 0; i < selectItemsId.value.length; i++) {
let decoration = selectItemsId.value[i];
del(decoration);
}
selectItemsId.value.forEach(decorationId => {
console.log(decorationId);
misskeyApi('admin/avatar-decorations/delete', { id: decorationId });
});
}
}