Ensure it's not possible for the recommended space avatar to assert

This commit is contained in:
Joshua Goins
2024-11-16 13:51:47 -05:00
parent 2409adf516
commit 1b0027e1d2
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ Kirigami.Dialog {
contentItem: RowLayout {
spacing: Kirigami.Units.largeSpacing * 4
Avatar {
source: root.connection.makeMediaUrl(SpaceHierarchyCache.recommendedSpaceAvatar)
source: SpaceHierarchyCache.recommendedSpaceAvatar.toString().length > 0 ? root.connection.makeMediaUrl(SpaceHierarchyCache.recommendedSpaceAvatar) : 0
name: SpaceHierarchyCache.recommendedSpaceDisplayName
}
ColumnLayout {