Skip to content

Commit

Permalink
Merge pull request #34 from lukashornych/bugfix-data-grid-infinite-lo…
Browse files Browse the repository at this point in the history
…ading

fix: data grid infinite startup loading
  • Loading branch information
lukashornych authored Sep 28, 2023
2 parents 24cdbab + 5572e22 commit 3081921
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/lab/editor/data-grid/LabEditorDataGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ import CodemirrorOneLine from '@/components/base/CodemirrorOneLine.vue'
import { QueryLanguage } from '@/model/lab'
import CodemirrorFull from '@/components/base/CodemirrorFull.vue'
import { Toaster, useToaster } from '@/services/editor/toaster'
import { TabComponentProps } from '@/model/editor/editor'
import { TabComponentEvents, TabComponentProps } from '@/model/editor/editor'
const dataGridConsoleService: DataGridConsoleService = useDataGridConsoleService()
const toaster: Toaster = useToaster()
const props = defineProps<TabComponentProps<DataGridConsoleParams, DataGridConsoleData>>()
const emit = defineEmits<TabComponentEvents>()
// static data
const path = ref<string[]>([
Expand Down Expand Up @@ -99,7 +100,7 @@ const propertyDetailValue = ref<string>('')
const initialized = ref<boolean>(false)
emit('ready')
onBeforeMount(() => {
// note: we can't use async/await here, because that would make this component async which currently doesn't seem to work
// properly in combination with dynamic <component> rendering and tabs
Expand Down

0 comments on commit 3081921

Please sign in to comment.