Convert observables to signals.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<h1 i18n>Last publications</h1>
|
||||
@if ((isLoading())) {
|
||||
<h2 i18n>Publications loading...</h2>
|
||||
<mat-spinner />
|
||||
<h2 i18n>Publications loading...</h2>
|
||||
<mat-spinner/>
|
||||
} @else {
|
||||
@if (publications(); as publications) {
|
||||
<app-publication-list [publications]="publications" />
|
||||
} @else {
|
||||
<h2 i18n>No any publication.</h2>
|
||||
}
|
||||
@if (publications(); as publications) {
|
||||
<app-publication-list [publications]="publications"/>
|
||||
} @else {
|
||||
<h2 i18n>No any publication.</h2>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user