1
0
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:
Sebastian Malton 2021-08-03 09:18:35 -04:00
parent f83e066a38
commit 4114b98a1a

View File

@ -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;
}
});
}