mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 23:43:01 +00:00
Merge remote-tracking branch 'origin/main' into more-eslint
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
import {
|
||||
autoserialize,
|
||||
autoserializeAs,
|
||||
deserialize,
|
||||
inheritSerialization,
|
||||
} from 'cerialize';
|
||||
import { autoserialize, autoserializeAs, deserialize, inheritSerialization } from 'cerialize';
|
||||
|
||||
import { typedObject } from '../cache/builders/build-decorators';
|
||||
import { excludeFromEquals } from '../utilities/equals.decorators';
|
||||
@@ -11,6 +6,7 @@ import { BrowseDefinition } from './browse-definition.model';
|
||||
import { HALLink } from './hal-link.model';
|
||||
import { HIERARCHICAL_BROWSE_DEFINITION } from './hierarchical-browse-definition.resource-type';
|
||||
import { ResourceType } from './resource-type';
|
||||
import { BrowseByDataType } from '../../browse-by/browse-by-switcher/browse-by-data-type';
|
||||
|
||||
/**
|
||||
* BrowseDefinition model for browses of type 'hierarchicalBrowse'
|
||||
@@ -45,7 +41,7 @@ export class HierarchicalBrowseDefinition extends BrowseDefinition {
|
||||
vocabulary: HALLink;
|
||||
};
|
||||
|
||||
getRenderType(): string {
|
||||
return 'hierarchy';
|
||||
getRenderType(): BrowseByDataType {
|
||||
return BrowseByDataType.Hierarchy;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user