Merge pull request #1496 from atmire/fix-profile-group-link-bug

Fix user profile page
This commit is contained in:
Tim Donohue
2022-01-24 09:02:56 -06:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -163,6 +163,7 @@ import { RootDataService } from './data/root-data.service';
import { Root } from './data/root.model';
import { SearchConfig } from './shared/search/search-filters/search-config.model';
import { SequenceService } from './shared/sequence.service';
import { GroupDataService } from './eperson/group-data.service';
/**
* When not in production, endpoint responses can be mocked for testing purposes
@@ -285,6 +286,7 @@ const PROVIDERS = [
VocabularyService,
VocabularyTreeviewService,
SequenceService,
GroupDataService
];
/**

View File

@@ -40,9 +40,7 @@ const editGroupSelector = createSelector(groupRegistryStateSelector, (groupRegis
/**
* Provides methods to retrieve eperson group resources from the REST API & Group related CRUD actions.
*/
@Injectable({
providedIn: 'root'
})
@Injectable()
@dataService(GROUP)
export class GroupDataService extends DataService<Group> {
protected linkPath = 'groups';