mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix not being able to disable/enable an extension
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f83e066a38
commit
4114b98a1a
@ -106,7 +106,8 @@ export class ExtensionLoader extends Singleton {
|
||||
this.userExtensionsMap.delete(change.oldValue.id);
|
||||
break;
|
||||
case "update":
|
||||
throw new Error("Extension manifests shouldn't be updated");
|
||||
this.userExtensionsMap.set(change.oldValue.id, change.newValue);
|
||||
break;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user