diff --git a/packages/nc-gui/components/dashboard/settings/DataSources.vue b/packages/nc-gui/components/dashboard/settings/DataSources.vue index 8416dc186a..5bb4f89287 100644 --- a/packages/nc-gui/components/dashboard/settings/DataSources.vue +++ b/packages/nc-gui/components/dashboard/settings/DataSources.vue @@ -381,7 +381,7 @@ watch(
-
+
diff --git a/packages/nc-gui/components/dashboard/settings/Erd.vue b/packages/nc-gui/components/dashboard/settings/Erd.vue index 73025e8eef..0bdc501409 100644 --- a/packages/nc-gui/components/dashboard/settings/Erd.vue +++ b/packages/nc-gui/components/dashboard/settings/Erd.vue @@ -5,7 +5,7 @@ const props = defineProps<{ diff --git a/packages/nc-gui/components/dashboard/settings/Modal.vue b/packages/nc-gui/components/dashboard/settings/Modal.vue index a67233cabd..36307dd64b 100644 --- a/packages/nc-gui/components/dashboard/settings/Modal.vue +++ b/packages/nc-gui/components/dashboard/settings/Modal.vue @@ -170,13 +170,11 @@ watch( - +
diff --git a/packages/nc-gui/components/erd/FullScreenToggle.vue b/packages/nc-gui/components/erd/FullScreenToggle.vue new file mode 100644 index 0000000000..6ef3545a8b --- /dev/null +++ b/packages/nc-gui/components/erd/FullScreenToggle.vue @@ -0,0 +1,30 @@ + + + diff --git a/packages/nc-gui/components/erd/View.vue b/packages/nc-gui/components/erd/View.vue index 6d5be40fdb..a476a73b17 100644 --- a/packages/nc-gui/components/erd/View.vue +++ b/packages/nc-gui/components/erd/View.vue @@ -21,6 +21,7 @@ const config = reactive({ singleTableMode: !!props.table, showMMTables: false, showJunctionTableNames: false, + isFullScreen: false, }) const loadMetaOfTablesNotInMetas = async (localTables: TableType[]) => { @@ -65,6 +66,10 @@ const populateTables = async () => { isLoading = false } +const toggleFullScreen = () => { + config.isFullScreen = !config.isFullScreen +} + watch([metas, projectTables], populateTables, { flush: 'post', immediate: true, @@ -86,7 +91,15 @@ watch(