Skip to content

Commit

Permalink
fix:keep modified author values, do not reset due to license dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
torsten-simon committed Jul 12, 2024
1 parent 952483b commit 57e8db8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, Input, OnInit, ViewChild } from '@angular/core';
import { MatTabGroup } from '@angular/material/tabs';
import { Metadata } from 'ngx-edu-sharing-graphql';
import { BehaviorSubject } from 'rxjs';
import { filter, tap } from 'rxjs/operators';
import { filter, first, tap } from 'rxjs/operators';
import { Node } from '../../../../../core-module/rest/data-object';
import { RestConstants } from '../../../../../core-module/rest/rest-constants';
import { RestIamService } from '../../../../../core-module/rest/services/rest-iam.service';
Expand Down Expand Up @@ -135,6 +135,9 @@ export class MdsEditorWidgetAuthorComponent implements OnInit, NativeWidgetCompo
return values;
}
private async updateValues(nodes: Node[]) {
if (this.hasChanges.value) {
return;
}
this._nodes = nodes;
this.refreshTabs();
}
Expand Down

0 comments on commit 57e8db8

Please sign in to comment.