Edit Community - Assign Roles/Groups (Angular) - feedback

This commit is contained in:
Samuel
2020-04-08 10:53:25 +02:00
parent 6a828f9286
commit ad71796507
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@
</div>
<a *ngIf="group"
href="{{editGroupLink$ | async}}">
routerLink="{{editGroupLink$ | async}}">
{{group.name}}
</a>

View File

@@ -12,6 +12,7 @@ import { ComcolRole } from './comcol-role';
import { of as observableOf } from 'rxjs/internal/observable/of';
import { RemoteData } from '../../../../core/data/remote-data';
import { Group } from '../../../../core/eperson/models/group.model';
import { RouterTestingModule } from '@angular/router/testing';
describe('ComcolRoleComponent', () => {
@@ -34,10 +35,9 @@ describe('ComcolRoleComponent', () => {
TestBed.configureTestingModule({
imports: [
TranslateModule.forRoot(),
SharedModule,
],
declarations: [
RouterTestingModule.withRoutes([]),
TranslateModule.forRoot(),
],
providers: [
{ provide: GroupDataService, useValue: groupService },