update
This commit is contained in:
parent
ecac24d499
commit
2c294ff978
|
@ -128,10 +128,10 @@ async function setCategoryBulk() {
|
||||||
|
|
||||||
async function deletes() {
|
async function deletes() {
|
||||||
if (selectItemsId.value.length > 0) {
|
if (selectItemsId.value.length > 0) {
|
||||||
for (let i = 0; i < selectItemsId.value.length; i++) {
|
selectItemsId.value.forEach(decorationId => {
|
||||||
let decoration = selectItemsId.value[i];
|
console.log(decorationId);
|
||||||
del(decoration);
|
misskeyApi('admin/avatar-decorations/delete', { id: decorationId });
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue