| void
+
/**
* Add new items to the bottom of the file context menu
*/
diff --git a/src/components/Windows/Common/Dropdown/Dropdown.vue b/src/components/Windows/Common/Dropdown/Dropdown.vue
index 9985fc22b..c8fd6efe4 100644
--- a/src/components/Windows/Common/Dropdown/Dropdown.vue
+++ b/src/components/Windows/Common/Dropdown/Dropdown.vue
@@ -46,9 +46,9 @@ const props = defineProps(['window'])
const state = props.window.getState()
function onClose() {
- props.window.close()
+ props.window.close(null)
}
function onConfirm() {
- props.window.close()
+ props.window.confirm()
}
diff --git a/src/components/Windows/ExtensionStore/ExtensionActions.ts b/src/components/Windows/ExtensionStore/ExtensionActions.ts
index 86ff03d9f..757956466 100644
--- a/src/components/Windows/ExtensionStore/ExtensionActions.ts
+++ b/src/components/Windows/ExtensionStore/ExtensionActions.ts
@@ -1,5 +1,6 @@
import { SimpleAction } from '/@/components/Actions/SimpleAction'
import { ExtensionViewer } from './ExtensionViewer'
+import { App } from '/@/App'
export const extensionActions = (extension: ExtensionViewer) => [
new SimpleAction({
@@ -20,7 +21,10 @@ export const extensionActions = (extension: ExtensionViewer) => [
extension.closeActionMenu()
},
}),
- !extension.isInstalledLocallyAndGlobally
+ // Only show "Install Local"/"Install Global" action if the extension isn't installed locally and globally yet
+ // ...and if the user is not currently on the "Home View"
+ !extension.isInstalledLocallyAndGlobally &&
+ !App.instance.isNoProjectSelected
? new SimpleAction({
name: `windows.extensionStore.${
extension.isGlobal ? 'installLocal' : 'installGlobal'
diff --git a/src/components/Windows/ExtensionStore/ExtensionCard.vue b/src/components/Windows/ExtensionStore/ExtensionCard.vue
index f90a62916..4af2666bc 100644
--- a/src/components/Windows/ExtensionStore/ExtensionCard.vue
+++ b/src/components/Windows/ExtensionStore/ExtensionCard.vue
@@ -126,42 +126,41 @@
{{ extension.description }}
-
+
+
-
+ mdi-cogs
+
+ {{
+ t(
+ 'windows.extensionStore.compilerPluginDownload.compilerPlugins'
+ )
+ }}:
+
+
+
+ {{ compilerPlugins }}
+
+
-
+ mdi-alert-circle
+
+ {{ t('windows.extensionStore.incompatibleVersion') }}
- mdi-format-list-bulleted
-
- {{
- t(
- 'windows.extensionStore.compilerPluginDownload.compilerPlugins'
- )
- }}:
-
-
-
- {{ compilerPlugins }}
-
-
-
-
-
- mdi-alert-circle
- {{ t('windows.extensionStore.incompatibleVersion') }}
-
-