From f1dc790ab4ea6d20051383faa6d302a70119b698 Mon Sep 17 00:00:00 2001 From: Emma Segal-Grossman Date: Mon, 17 Feb 2025 21:05:48 -0500 Subject: [PATCH] Org dashboard: update collection grid empty text state when view is set to "all" (#2402) Tested locally. cc @SuaYoo --- frontend/src/features/collections/collections-grid.ts | 4 +++- frontend/src/pages/org/dashboard.ts | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/features/collections/collections-grid.ts b/frontend/src/features/collections/collections-grid.ts index 9237e88a..3d87906b 100644 --- a/frontend/src/features/collections/collections-grid.ts +++ b/frontend/src/features/collections/collections-grid.ts @@ -64,7 +64,9 @@ export class CollectionsGrid extends BtrixElement { return html`

- ${msg("No public collections yet.")} + + ${msg("No public collections yet.")} +

diff --git a/frontend/src/pages/org/dashboard.ts b/frontend/src/pages/org/dashboard.ts index eac5b9da..db7bd18b 100644 --- a/frontend/src/pages/org/dashboard.ts +++ b/frontend/src/pages/org/dashboard.ts @@ -462,6 +462,11 @@ export class Dashboard extends BtrixElement { }} > ${this.renderNoPublicCollections()} + ${this.collectionsView === CollectionGridView.Public + ? msg("No public collections yet.") + : msg("No collections yet.")} ${this.collections.value && this.collections.value.total > this.collections.value.items.length ? html`