Skip to content

Commit 86885f7

Browse files
committed
Merge remote-tracking branch 'origin/main' into more-eslint
2 parents 5edc689 + a9c58a1 commit 86885f7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/app/item-page/edit-item-page/edit-item-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="col-12">
44
<h1 class="border-bottom">{{'item.edit.head' | translate}}</h1>
55
<div class="pt-2">
6-
<ul class="nav nav-tabs justify-content-start" role="tablist">
6+
<ul *ngIf="pages.length > 0" class="nav nav-tabs justify-content-start" role="tablist">
77
<li *ngFor="let page of pages" class="nav-item" role="presentation">
88
<a *ngIf="(page.enabled | async)"
99
[attr.aria-selected]="page.page === currentPage"

src/app/item-page/simple/item-page.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
import {
1515
combineLatest,
1616
Observable,
17+
of,
1718
} from 'rxjs';
1819
import {
1920
map,
@@ -174,6 +175,8 @@ export class ItemPageComponent implements OnInit, OnDestroy {
174175
switchMap((coarLdnEnabled: boolean) => {
175176
if (coarLdnEnabled) {
176177
return this.notifyInfoService.getCoarLdnLocalInboxUrls();
178+
} else {
179+
return of([]);
177180
}
178181
}),
179182
);

0 commit comments

Comments
 (0)