mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
6c12b56bf0
commit
674e2f1a09
1 file changed
+3
-3
@@ -80,10 +80,10 @@ export const attemptInstall =
|
||||
}
|
||||
|
||||
const extensionFolder = getExtensionDestFolder(name);
|
||||
const installedExtensionsion = extensionLoader.getExtension(validatedRequest.id);
|
||||
const installedExtension = extensionLoader.getExtension(validatedRequest.id);
|
||||
|
||||
if (installedExtensionsion) {
|
||||
const { version: oldVersion } = installedExtensionsion.manifest;
|
||||
if (installedExtension) {
|
||||
const { version: oldVersion } = installedExtension.manifest;
|
||||
|
||||
// confirm to uninstall old version before installing new version
|
||||
const removeNotification = Notifications.info(
|
||||
|
||||
Reference in new issue
Block a user