Add necessary else-statement to template of component slide-list.

This commit is contained in:
Chris Witterholt 2024-04-24 17:15:17 +02:00
parent d8181281ab
commit 35787b946a
No known key found for this signature in database
GPG Key ID: 66C03249E4759AE9
4 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
<mat-option
name="searchOptions"
[value]="option">
{{option}}
{{ option }}
</mat-option>
}
</mat-select>

View File

@ -10,7 +10,7 @@
<mat-option
name="searchPlugins"
[value]="plugin.key">
{{plugin.name}}
{{ plugin.name }}
</mat-option>
}
</mat-select>
@ -44,7 +44,7 @@
<table>
@for (item of searchResults; track item) {
<tr>
<td>{{item[1]}}</td>
<td>{{ item[1] }}</td>
<td>
<button
mat-button color="primary"

View File

@ -10,7 +10,7 @@
}
</ng-container>
}
<ng-template #noSlideItems>
@else {
@if (!loading) {
<div class="no-items">
<div class="no-items-title">
@ -29,4 +29,4 @@
</div>
</div>
}
</ng-template>
}

View File

@ -15,7 +15,7 @@
}
@else {
<ng-container>
{{slide?.text}}
{{ slide?.text }}
</ng-container>
}
</div>