Code cleaning about publication edition component.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
@if ((isLoading$ | async) == true) {
|
||||
<mat-spinner></mat-spinner>
|
||||
}
|
||||
@else {
|
||||
@if (publication) {
|
||||
<app-publication-edition [publication]="publication" [isSaving$]="isSaving$" (publicationSave)="onPublicationSave($event)"></app-publication-edition>
|
||||
}
|
||||
@else {
|
||||
<div class="loading-failed">
|
||||
<h1>Publication failed to load...</h1>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user