diff --git a/src/options/LocalCommands.vue b/src/options/LocalCommands.vue index 3527aa1..e4ed14d 100644 --- a/src/options/LocalCommands.vue +++ b/src/options/LocalCommands.vue @@ -1,10 +1,8 @@ @@ -213,6 +302,16 @@ form { } } } + +.no-actions { + height: 100%; + display: flex; + align-items: center; + justify-content: center; + font-size: 1.3em; + letter-spacing: 0.025em; + color: rgba(0, 0, 0, 0.8); +} diff --git a/src/options/Run.vue b/src/options/Run.vue index f0a9d40..a511595 100644 --- a/src/options/Run.vue +++ b/src/options/Run.vue @@ -81,9 +81,9 @@ -
+
- +
@@ -99,7 +99,7 @@
- +
@@ -273,6 +273,10 @@ export default { } }, + async save(event) { + return this.actionMode === 'request' ? await this.storeAction(event) : await this.storeScript(event); + }, + async storeScript(event) { const saveForm = event.target; const displayName = saveForm.displayName.value.trim();