fix(UI): row mark not applied on first click

This commit is contained in:
Fabio Di Stasio 2021-03-10 15:55:34 +01:00
parent b232a3bb5f
commit 25d72e3952
3 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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"

View File

@ -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"