Skip to content

Commit

Permalink
fix(UI): row mark not applied on first click
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Mar 10, 2021
1 parent b232a3b commit 25d72e3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/renderer/components/QueryEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ export default {
const target = e.domEvent.target;
if (target.className.indexOf('ace_gutter-cell') === -1)
return;
if (!this.editor.isFocused())
return;
if (e.clientX > 25 + target.getBoundingClientRect().left)
return;

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspacePropsTabScheduler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<BaseLoader v-if="isLoading" />
<label class="form-label ml-2">{{ $t('message.schedulerBody') }}</label>
<QueryEditor
v-if="isSelected"
v-show="isSelected"
ref="queryEditor"
:value.sync="localScheduler.sql"
:workspace="workspace"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspacePropsTabTrigger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<BaseLoader v-if="isLoading" />
<label class="form-label ml-2">{{ $t('message.triggerStatement') }}</label>
<QueryEditor
v-if="isSelected"
v-show="isSelected"
ref="queryEditor"
:value.sync="localTrigger.sql"
:workspace="workspace"
Expand Down

0 comments on commit 25d72e3

Please sign in to comment.