Skip to content

Commit f94820d

Browse files
authored
Merge pull request DSpace#1496 from atmire/fix-profile-group-link-bug
Fix user profile page
2 parents 70b456d + 132e68a commit f94820d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/core/core.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ import { RootDataService } from './data/root-data.service';
163163
import { Root } from './data/root.model';
164164
import { SearchConfig } from './shared/search/search-filters/search-config.model';
165165
import { SequenceService } from './shared/sequence.service';
166+
import { GroupDataService } from './eperson/group-data.service';
166167

167168
/**
168169
* When not in production, endpoint responses can be mocked for testing purposes
@@ -285,6 +286,7 @@ const PROVIDERS = [
285286
VocabularyService,
286287
VocabularyTreeviewService,
287288
SequenceService,
289+
GroupDataService
288290
];
289291

290292
/**

src/app/core/eperson/group-data.service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ const editGroupSelector = createSelector(groupRegistryStateSelector, (groupRegis
4040
/**
4141
* Provides methods to retrieve eperson group resources from the REST API & Group related CRUD actions.
4242
*/
43-
@Injectable({
44-
providedIn: 'root'
45-
})
43+
@Injectable()
4644
@dataService(GROUP)
4745
export class GroupDataService extends DataService<Group> {
4846
protected linkPath = 'groups';

0 commit comments

Comments
 (0)