From abb4126bce69ef55cf1cd139f745f48a5780f283 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 14 Jan 2025 16:17:09 +0100 Subject: [PATCH] fix: hide icon if description is missing There might be future general improvements like merging the edit and info modal (since they both show the description, but only in one it's editable. This PR already improves the situation a bit, since you don't have to click on that info button anymore to check __if__ there is a description at all. --- frontend/src/components/home/AppHeader.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/home/AppHeader.vue b/frontend/src/components/home/AppHeader.vue index 3fa49bd8f..d88a7700a 100644 --- a/frontend/src/components/home/AppHeader.vue +++ b/frontend/src/components/home/AppHeader.vue @@ -25,6 +25,7 @@ @@ -124,6 +125,7 @@ import MenuButton from '@/components/home/MenuButton.vue' import OpenQuickActions from '@/components/misc/OpenQuickActions.vue' import { getProjectTitle } from '@/helpers/getProjectTitle' +import { isEditorContentEmpty } from '@/helpers/editorContentEmpty' import { useBaseStore } from '@/stores/base' import { useConfigStore } from '@/stores/config'