- ${this.renderSearchbar()}
+ ${this.renderSearch()}
${
- // TODO: Missing translation for the color aliases.
+ // TODO: Missing localization for the color aliases. [NL]
this._colorList.map(
(color) => html`
- ${this.renderIconSelection()}
+ ${this.renderIcons()}
-
+
`;
}
- renderIconSelection() {
- return repeat(
- this._iconListFiltered,
- (icon) => icon.name,
- (icon) => html`
-
-
- `,
- );
+ renderIcons() {
+ return this._iconsFiltered
+ ? repeat(
+ this._iconsFiltered,
+ (icon) => icon.name,
+ (icon) => html`
+
+
+
+
+ `,
+ )
+ : nothing;
}
static styles = [
@@ -160,15 +177,15 @@ export class UmbIconPickerModalElement extends UmbModalBaseElement app.component,
)}
- `
+ `
: nothing}
${this._routes && this._routes.length > 0
@@ -105,10 +105,6 @@ export class UmbSectionDefaultElement extends UmbLitElement implements UmbSectio
height: 100%;
display: flex;
}
-
- h3 {
- padding: var(--uui-size-4) var(--uui-size-8);
- }
`,
];
}
diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/section/section-main-views/section-main-views.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/section/section-main-views/section-main-views.element.ts
index 6a7d3917b6..067981a818 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/core/section/section-main-views/section-main-views.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/core/section/section-main-views/section-main-views.element.ts
@@ -98,7 +98,7 @@ export class UmbSectionMainViewElement extends UmbLitElement {
`
- : html`${nothing}`;
+ : nothing;
}
#renderDashboards() {
@@ -117,7 +117,7 @@ export class UmbSectionMainViewElement extends UmbLitElement {
})}
`
- : '';
+ : nothing;
}
#renderViews() {
@@ -140,7 +140,7 @@ export class UmbSectionMainViewElement extends UmbLitElement {
})}
`
- : '';
+ : nothing;
}
static styles = [