diff --git a/src/components/lab/editor/data-grid/LabEditorDataGrid.vue b/src/components/lab/editor/data-grid/LabEditorDataGrid.vue index eaeccd68..cdd0ed50 100644 --- a/src/components/lab/editor/data-grid/LabEditorDataGrid.vue +++ b/src/components/lab/editor/data-grid/LabEditorDataGrid.vue @@ -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>() +const emit = defineEmits() // static data const path = ref([ @@ -99,7 +100,7 @@ const propertyDetailValue = ref('') const initialized = ref(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 rendering and tabs