@lvce-editor/extension-search-view 7.14.0 → 7.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1378,6 +1378,9 @@ const {
|
|
|
1378
1378
|
const disableWorkspace$2 = id => {
|
|
1379
1379
|
return invoke$1('Extensions.disableWorkspace', id);
|
|
1380
1380
|
};
|
|
1381
|
+
const uninstall$2 = id => {
|
|
1382
|
+
return invoke$1(`Extensions.uninstall`, id);
|
|
1383
|
+
};
|
|
1381
1384
|
|
|
1382
1385
|
const {
|
|
1383
1386
|
invoke,
|
|
@@ -1418,9 +1421,6 @@ const openUri$1 = async (uri, focus, options) => {
|
|
|
1418
1421
|
const showErrorDialog = async errorInfo => {
|
|
1419
1422
|
await invoke('ErrorHandling.showErrorDialog', errorInfo);
|
|
1420
1423
|
};
|
|
1421
|
-
const uninstallExtension = async id => {
|
|
1422
|
-
return invoke('ExtensionManagement.uninstall', id);
|
|
1423
|
-
};
|
|
1424
1424
|
const installExtension = async id => {
|
|
1425
1425
|
return invoke('ExtensionManagement.install', id);
|
|
1426
1426
|
};
|
|
@@ -3958,7 +3958,7 @@ const handleSettingsButtonClick = async (state, index) => {
|
|
|
3958
3958
|
|
|
3959
3959
|
const handleUninstall = async (state, id) => {
|
|
3960
3960
|
try {
|
|
3961
|
-
await
|
|
3961
|
+
await uninstall$2(id);
|
|
3962
3962
|
return setExtensionStatus(state, id, NotInstalled);
|
|
3963
3963
|
} catch (error) {
|
|
3964
3964
|
await showErrorDialog(error);
|
|
@@ -4127,6 +4127,7 @@ const getCss = state => {
|
|
|
4127
4127
|
}
|
|
4128
4128
|
|
|
4129
4129
|
.ExtensionListItem {
|
|
4130
|
+
box-sizing: border-box;
|
|
4130
4131
|
position: relative !important;
|
|
4131
4132
|
flex-shrink: 0;
|
|
4132
4133
|
}
|