Skip to content

Commit

Permalink
editor: add support of uploading files from holdingpen
Browse files Browse the repository at this point in the history
* ref: cern-sis/issues-inspire/609
  • Loading branch information
drjova committed Nov 18, 2024
1 parent 681c501 commit 8347c16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class GlobalAppStateService {
readonly jsonBeingEdited$ = new ReplaySubject<object>(1);

readonly pidValueBeingEdited$ = this.jsonBeingEdited$
.map(json => json['control_number'] || json['metadata']['control_number'])
.map(json => json['control_number'] || json['metadata']['control_number'] || json['id'])
.distinctUntilChanged();
readonly pidTypeBeingEdited$ = this.jsonBeingEdited$
.map(json => {
Expand Down

0 comments on commit 8347c16

Please sign in to comment.