feat(portals): add more specific error views

This commit is contained in:
4gray committed 2024-01-07 20:48:39 +01:00
1 parent 30a4d22126
commit cd3de258b0
7 files changed
+63 -16

No files matched your search

@@ -1,6 +1,7 @@
<app-navigation-bar
[breadcrumbs]="breadcrumbs"
[contentType]="selectedContentType"
[showCategories]="currentLayout !== 'error-view'"
(breadcrumbClicked)="breadcrumbClicked($event)"
(contentTypeChanged)="changeContentType($event)"
(searchTextChanged)="setSearchPhrase($event)"
@@ -16,12 +17,10 @@
<mat-spinner />
} @else {
@switch (currentLayout) {
@case ('expired-account') {
@case ('error-view') {
<app-playlist-error-view
[title]="'PORTALS.ACCOUNT_EXPIRED_VIEW.TITLE' | translate"
[description]="
'PORTALS.ACCOUNT_EXPIRED_VIEW.DESCRIPTION' | translate
"
[title]="this.errorViewInfo.title | translate"
[description]="this.errorViewInfo.message | translate"
/>
}
@case ('category') {