add curly brackets to if statement
This commit is contained in:
@@ -21,12 +21,13 @@ export class UmbUserMediaStartNodeElement extends UmbLitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
if (this.ids.length < 1)
|
if (this.ids.length < 1) {
|
||||||
return html`
|
return html`
|
||||||
<uui-ref-node name="Media Root">
|
<uui-ref-node name="Media Root">
|
||||||
<uui-icon slot="icon" name="folder"></uui-icon>
|
<uui-icon slot="icon" name="folder"></uui-icon>
|
||||||
</uui-ref-node>
|
</uui-ref-node>
|
||||||
`;
|
`;
|
||||||
|
}
|
||||||
|
|
||||||
return repeat(
|
return repeat(
|
||||||
this._displayValue,
|
this._displayValue,
|
||||||
|
|||||||
Reference in New Issue
Block a user