Reduce browse definition requests on simple item page (#3701)

* 121561 Reduce the number of browse definition requests on Item pages by reusing the navbar request for all browse indexes

* Fix test issues.

---------

Co-authored-by: Koen Pauwels <koen.pauwels@atmire.com>
This commit is contained in:
Koen Pauwels
2025-01-07 22:23:48 +01:00
committed by Tim Donohue
parent 9284763fe2
commit 0120896135
12 changed files with 152 additions and 15 deletions

View File

@@ -1,6 +1,5 @@
import {
autoserialize,
autoserializeAs,
deserialize,
inheritSerialization,
} from 'cerialize';
@@ -33,9 +32,6 @@ export class HierarchicalBrowseDefinition extends BrowseDefinition {
@autoserialize
vocabulary: string;
@autoserializeAs('metadata')
metadataKeys: string[];
get self(): string {
return this._links.self.href;
}