Org dashboard: update collection grid empty text state when view is set to "all" (#2402)
Tested locally. cc @SuaYoo
This commit is contained in:
parent
d23bca1f73
commit
f1dc790ab4
@ -64,7 +64,9 @@ export class CollectionsGrid extends BtrixElement {
|
||||
return html`
|
||||
<div class="flex flex-col items-center justify-center gap-3 px-3 py-10">
|
||||
<p class="text-base text-neutral-500">
|
||||
${msg("No public collections yet.")}
|
||||
<slot name="empty-text">
|
||||
${msg("No public collections yet.")}
|
||||
</slot>
|
||||
</p>
|
||||
<slot name="empty-actions"></slot>
|
||||
</div>
|
||||
|
@ -462,6 +462,11 @@ export class Dashboard extends BtrixElement {
|
||||
}}
|
||||
>
|
||||
${this.renderNoPublicCollections()}
|
||||
<span slot="empty-text"
|
||||
>${this.collectionsView === CollectionGridView.Public
|
||||
? msg("No public collections yet.")
|
||||
: msg("No collections yet.")}</span
|
||||
>
|
||||
${this.collections.value &&
|
||||
this.collections.value.total > this.collections.value.items.length
|
||||
? html`
|
||||
|
Loading…
Reference in New Issue
Block a user