Skip to content

Commit 08f84af

Browse files
Mattia VianelliAndrea Barbasso
authored andcommitted
Merged in task/dspace-cris-2025_02_x/DSC-2683 (pull request DSpace#4020)
DSC-2683 Fix admin sidebar logic to enable external links Approved-by: Andrea Barbasso
2 parents 990178b + a54794e commit 08f84af

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
@@ -59,7 +59,7 @@ export class AdminSidebarSectionComponent extends AbstractMenuSectionComponent i
5959

6060
ngOnInit(): void {
6161
// todo: should support all menu entries?
62-
this.isDisabled = this.itemModel?.disabled || isEmpty(this.itemModel?.link);
62+
this.isDisabled = this.itemModel?.disabled || (isEmpty(this.itemModel?.link) && isEmpty(this.itemModel?.href));
6363
super.ngOnInit();
6464
}
6565

0 commit comments

Comments
 (0)