Skip to content

Commit c17fad7

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-2683 Fix admin sidebar logic to enable external links
(cherry picked from commit c04eea279cac6774651c26937208208a59c671c1)
1 parent e052799 commit c17fad7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/admin/admin-sidebar/admin-sidebar-section/admin-sidebar-section.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class AdminSidebarSectionComponent extends MenuSectionComponent implement
5353
}
5454

5555
ngOnInit(): void {
56-
this.isDisabled = this.itemModel?.disabled || isEmpty(this.itemModel?.link);
56+
this.isDisabled = this.itemModel?.disabled || (isEmpty(this.itemModel?.link) && isEmpty(this.itemModel?.href));
5757
super.ngOnInit();
5858
}
5959

0 commit comments

Comments
 (0)