You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/packages/block/block-type/components/block-type-card/block-type-card.element.ts
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -80,12 +80,17 @@ export class UmbBlockTypeCardElement extends UmbLitElement {
if(!this.repository)thrownewError('Repository is not initialized');
135
144
145
+
constrequestedUniques=this.getUniques();
146
+
147
+
this.#statuses.setValue(
148
+
requestedUniques.map((unique)=>({
149
+
state: {
150
+
type: 'loading',
151
+
},
152
+
unique,
153
+
})),
154
+
);
155
+
136
156
// TODO: Test if its just some items that is gone now, if so then just filter them out. (maybe use code from #removeItem)
137
157
// This is where this.#getUnique comes in play. Unless that can come from the repository, but that collides with the idea of having a multi-type repository. If that happens.
0 commit comments