From 6fb5737118745eaa7782cb820bb8ae3db59ddb7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Malak?= Date: Fri, 25 Mar 2022 14:51:56 +0100 Subject: [PATCH] Small bug fixes and UI improvements --- .dev/build_dev.sh | 1 + .../GeneralSettings/CustomQueries/CustomQueries.tsx | 4 +++- .../Settings/Themer/ThemeBuilder/ThemeBuilder.tsx | 9 ++++++++- client/src/utility/templateObjects/settingsTemplate.ts | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .dev/build_dev.sh diff --git a/.dev/build_dev.sh b/.dev/build_dev.sh new file mode 100644 index 0000000..6c0bd26 --- /dev/null +++ b/.dev/build_dev.sh @@ -0,0 +1 @@ +docker build -t flame:dev -f .docker/Dockerfile . \ No newline at end of file diff --git a/client/src/components/Settings/GeneralSettings/CustomQueries/CustomQueries.tsx b/client/src/components/Settings/GeneralSettings/CustomQueries/CustomQueries.tsx index 8340308..8471fae 100644 --- a/client/src/components/Settings/GeneralSettings/CustomQueries/CustomQueries.tsx +++ b/client/src/components/Settings/GeneralSettings/CustomQueries/CustomQueries.tsx @@ -65,7 +65,7 @@ export const CustomQueries = (): JSX.Element => {
- {customQueries.length && ( + {customQueries.length ? ( {customQueries.map((q: Query, idx) => ( @@ -82,6 +82,8 @@ export const CustomQueries = (): JSX.Element => { ))} + ) : ( + <> )}