mirror of https://github.com/Fabio286/antares.git
fix(UI): editor theme preview not properly loaded in some cases
This commit is contained in:
parent
dcb135dd01
commit
c981244d7a
|
@ -186,8 +186,9 @@
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="column col-12">
|
<div class="column col-12">
|
||||||
<QueryEditor
|
<BaseTextEditor
|
||||||
:value="exampleQuery"
|
:value="exampleQuery"
|
||||||
|
mode="sql"
|
||||||
:workspace="workspace"
|
:workspace="workspace"
|
||||||
:read-only="true"
|
:read-only="true"
|
||||||
:height="270"
|
:height="270"
|
||||||
|
@ -223,14 +224,14 @@
|
||||||
import { mapActions, mapGetters } from 'vuex';
|
import { mapActions, mapGetters } from 'vuex';
|
||||||
import localesNames from '@/i18n/supported-locales';
|
import localesNames from '@/i18n/supported-locales';
|
||||||
import ModalSettingsUpdate from '@/components/ModalSettingsUpdate';
|
import ModalSettingsUpdate from '@/components/ModalSettingsUpdate';
|
||||||
import QueryEditor from '@/components/QueryEditor';
|
import BaseTextEditor from '@/components/BaseTextEditor';
|
||||||
const { shell } = require('electron');
|
const { shell } = require('electron');
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ModalSettings',
|
name: 'ModalSettings',
|
||||||
components: {
|
components: {
|
||||||
ModalSettingsUpdate,
|
ModalSettingsUpdate,
|
||||||
QueryEditor
|
BaseTextEditor
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue