We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89d2c36 + 73df82f commit 9dc7c01Copy full SHA for 9dc7c01
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "lib-iitc-manager",
3
- "version": "1.9.0",
+ "version": "1.9.1",
4
"description": "Library for managing IITC plugins",
5
"main": "src/index.js",
6
"type": "module",
src/worker.js
@@ -695,6 +695,11 @@ export class Worker {
695
} else if (useUser) {
696
plugins[uid] = plugin_user || {};
697
}
698
+
699
+ // Updating a disabled plugin should not trigger the event
700
+ if (event !== 'remove' && plugins[uid]?.status !== 'on') {
701
+ delete plugins[uid];
702
+ }
703
704
705
if (Object.keys(plugins).length) {
0 commit comments