Skip to content

Commit

Permalink
- [ ] Todo check on group registry the canEdit$ rights
Browse files Browse the repository at this point in the history
- [ ] Check group-form.component.ts todo
  • Loading branch information
alexandrevryghem committed Oct 25, 2024
1 parent 7e3cbf8 commit 53d7185
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class GroupFormComponent implements OnInit, OnDestroy {
this.activeGroupLinkedDSO$ = this.getActiveGroupLinkedDSO();
this.linkedEditRolesRoute$ = this.getLinkedEditRolesRoute();
this.canEdit$ = this.activeGroupLinkedDSO$.pipe(
// TODO alex shouldn't this be swapped?
// TODO alex shouldn't this be swapped?
filter((dso: DSpaceObject) => hasNoValue(dso)),
switchMap(() => this.activeGroup$),
hasValueOperator(),
Expand Down Expand Up @@ -282,7 +282,7 @@ export class GroupFormComponent implements OnInit, OnDestroy {
if (linkedObject?.name) {
if (!this.formGroup.controls.groupCommunity) {
this.formBuilderService.insertFormGroupControl(1, this.formGroup, this.formModel, groupCommunityModel);
this.groupDescription = this.formGroup.get('groupCommunity'); // todo alex huh typo???
this.groupDescription = this.formGroup.get('groupCommunity'); // todo alex huh typo???
this.formGroup.patchValue({
groupName: activeGroup.name,
groupCommunity: linkedObject?.name ?? '',
Expand Down

0 comments on commit 53d7185

Please sign in to comment.