Skip to content

Commit

Permalink
fix(UI): editor theme preview not properly loaded in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Apr 1, 2021
1 parent dcb135d commit c981244
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/renderer/components/ModalSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,9 @@
</select>
</div>
<div class="column col-12">
<QueryEditor
<BaseTextEditor
:value="exampleQuery"
mode="sql"
:workspace="workspace"
:read-only="true"
:height="270"
Expand Down Expand Up @@ -223,14 +224,14 @@
import { mapActions, mapGetters } from 'vuex';
import localesNames from '@/i18n/supported-locales';
import ModalSettingsUpdate from '@/components/ModalSettingsUpdate';
import QueryEditor from '@/components/QueryEditor';
import BaseTextEditor from '@/components/BaseTextEditor';
const { shell } = require('electron');
export default {
name: 'ModalSettings',
components: {
ModalSettingsUpdate,
QueryEditor
BaseTextEditor
},
data () {
return {
Expand Down

0 comments on commit c981244

Please sign in to comment.