Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/antares-sql/antares into…
Browse files Browse the repository at this point in the history
… beta
  • Loading branch information
Fabio286 committed Feb 26, 2024
2 parents 04e4d21 + 8500fc4 commit 6d94a04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/WorkspaceTabQueryTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@
autofocus
class="editable-field form-input input-sm px-1"
@blur="editOFF"
@keyup.delete.stop
>
<BaseSelect
v-else-if="inputProps.type === 'boolean'"
v-model="editingContent"
:options="['true', 'false']"
class="form-select small-select editable-field"
@blur="editOFF"
@keyup.delete.stop
/>
<BaseSelect
v-else-if="enumArray"
Expand All @@ -58,6 +60,7 @@
class="form-select small-select editable-field"
dropdown-class="small-select"
@blur="editOFF"
@keyup.delete.stop
/>
<input
v-else
Expand All @@ -67,6 +70,7 @@
autofocus
class="editable-field form-input input-sm px-1"
@blur="editOFF"
@keyup.delete.stop
>
</template>
</template>
Expand Down
7 changes: 3 additions & 4 deletions src/renderer/stores/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ export const useApplicationStore = defineStore('application', {
},
showScratchpad (tag?: string) {
this.isScratchpad = true;
if (tag) {
const { selectedTag } = storeToRefs(useScratchpadStore());
selectedTag.value = tag;
}
if (!tag) tag = 'all';
const { selectedTag } = storeToRefs(useScratchpadStore());
selectedTag.value = tag;
},
hideScratchpad () {
this.isScratchpad = false;
Expand Down

0 comments on commit 6d94a04

Please sign in to comment.