From bb6b114af7d12b4a6d6a73472a376ae0cef2705f Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Thu, 19 Dec 2024 12:31:10 +0100 Subject: [PATCH] fix selectable columns & token refresh --- src/components/queryBuilder/ColumnSelect.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/queryBuilder/ColumnSelect.vue b/src/components/queryBuilder/ColumnSelect.vue index 1f9c7a7..7113f6b 100644 --- a/src/components/queryBuilder/ColumnSelect.vue +++ b/src/components/queryBuilder/ColumnSelect.vue @@ -10,7 +10,7 @@ *

tm.tableName == this.table); }, + columns() { + return this.activeTable?.columns?.filter((c) => !this.foreignColumns?.includes(c.column)); + }, foreignColumns() { return this.activeTable?.relations.map((r) => r.column); },