Commit a469f9a9 authored by akiraohgaki's avatar akiraohgaki

Fix for uninstallation

parent 0ba4bb81
......@@ -140,7 +140,7 @@ export default class CollectioninstalledComponent extends BaseComponent {
case 'ocsManager_uninstall': {
const itemKey = target.getAttribute('data-item-key');
this.dispatch('ocsManager_uninstall', {itemKey: itemKey});
for (const listItem of this.contentRoot.querySelector(`li[data-item-key="${itemKey}"]`)) {
for (const listItem of this.contentRoot.querySelectorAll(`li[data-item-key="${itemKey}"]`)) {
listItem.remove();
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment