From 3cc285ff76b0b9f604741aef7da3103fe30e5d3e Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Thu, 15 Sep 2022 18:13:39 +0530 Subject: [PATCH] feat(nc-gui): Removed junction table showing when show m2m table option is selected --- packages/nc-gui/components/erd/View.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/erd/View.vue b/packages/nc-gui/components/erd/View.vue index c822801701..58b28323c3 100644 --- a/packages/nc-gui/components/erd/View.vue +++ b/packages/nc-gui/components/erd/View.vue @@ -48,7 +48,9 @@ onMounted(async () => { }) const tablesFilteredWithConfig = computed(() => - tables.value.filter((table) => (!config.value.showViews && table.type !== 'view') || config.value.showViews), + tables.value + .filter((table) => !table.mm) + .filter((table) => (!config.value.showViews && table.type !== 'view') || config.value.showViews), ) watch(