Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into more-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ybnd committed Mar 7, 2024
2 parents 5edc689 + a9c58a1 commit 86885f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="col-12">
<h1 class="border-bottom">{{'item.edit.head' | translate}}</h1>
<div class="pt-2">
<ul class="nav nav-tabs justify-content-start" role="tablist">
<ul *ngIf="pages.length > 0" class="nav nav-tabs justify-content-start" role="tablist">
<li *ngFor="let page of pages" class="nav-item" role="presentation">
<a *ngIf="(page.enabled | async)"
[attr.aria-selected]="page.page === currentPage"
Expand Down
3 changes: 3 additions & 0 deletions src/app/item-page/simple/item-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
import {
combineLatest,
Observable,
of,
} from 'rxjs';
import {
map,
Expand Down Expand Up @@ -174,6 +175,8 @@ export class ItemPageComponent implements OnInit, OnDestroy {
switchMap((coarLdnEnabled: boolean) => {
if (coarLdnEnabled) {
return this.notifyInfoService.getCoarLdnLocalInboxUrls();
} else {
return of([]);
}
}),
);
Expand Down

0 comments on commit 86885f7

Please sign in to comment.