From 539c383b214663d0158704b7e7386dc08213b774 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 21 Apr 2022 08:34:21 +0200 Subject: [PATCH 1/3] #270 --- packages/web/src/commands/CommandListener.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/commands/CommandListener.svelte b/packages/web/src/commands/CommandListener.svelte index d0479991..3919f066 100644 --- a/packages/web/src/commands/CommandListener.svelte +++ b/packages/web/src/commands/CommandListener.svelte @@ -42,7 +42,7 @@ commandsFiltered = commandsFiltered.filter(x => !x.systemCommand); } - if (commandsFiltered.every(x => x.systemCommand) && !isMac()) { + if (commandsFiltered.every(x => x.systemCommand)) { return; } From 72f5710dfd7e41acfe0f61c6ab13a962197f645a Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 21 Apr 2022 08:37:16 +0200 Subject: [PATCH 2/3] removed additional info from issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 6 ------ .github/ISSUE_TEMPLATE/feature_request.md | 6 ------ .github/ISSUE_TEMPLATE/question.md | 6 ------ 3 files changed, 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 618862fa..deeaec86 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -28,9 +28,3 @@ If applicable, add screenshots to help explain your problem. - Install source [e.g. installer/SNAP/Docker/NPM] - Type - Web/Application - Database engine: [e.g. MySQL/PostgreSQL/SQL Server] - -**Additional info** -You could provide additional context, to better understand your case. - - How looks your typical DbGate usage? - - What other DB software do you use? - - Anything else you think might be helpful diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 7732113d..14655a08 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -15,9 +15,3 @@ A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. - -**Additional info** -You could provide additional context, to better understand your case. - - How looks your typical DbGate usage? - - What other DB software do you use? - - Anything else you think might be helpful diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md index 315c52e1..bb5c9edb 100644 --- a/.github/ISSUE_TEMPLATE/question.md +++ b/.github/ISSUE_TEMPLATE/question.md @@ -16,9 +16,3 @@ App Version [help -> about]: **Screenshot [if appropriate]**: A screenshot of the app if that helps - -**Additional info** -You could provide additional context, to better understand your case. - - How looks your typical DbGate usage? - - What other DB software do you use? - - Anything else you think might be helpful From 32228d542a4c5b69baf337821be74b78baf01675 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 21 Apr 2022 08:41:53 +0200 Subject: [PATCH 3/3] fixed crash #268 --- .../web/src/tableeditor/ColumnsConstraintEditorModal.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web/src/tableeditor/ColumnsConstraintEditorModal.svelte b/packages/web/src/tableeditor/ColumnsConstraintEditorModal.svelte index 2c97c1f2..c3939174 100644 --- a/packages/web/src/tableeditor/ColumnsConstraintEditorModal.svelte +++ b/packages/web/src/tableeditor/ColumnsConstraintEditorModal.svelte @@ -113,10 +113,10 @@ label: 'Choose column', value: '', }, - ...tableInfo.columns.map(col => ({ + ...(tableInfo?.columns?.map(col => ({ label: col.columnName, value: col.columnName, - })), + })) || []), ]} /> {/key}