Commits

Giuseppe Digilio authored 04c8cb7590f
[CST-4506] Fix issue with submission bitstream edit
No tags

src/app/submission/sections/upload/file/section-upload-file.component.ts

Modified
169 169 * Retrieve bitstream's metadata
170 170 */
171 171 ngOnChanges() {
172 172 if (this.availableAccessConditionOptions) {
173 173 // Retrieve file state
174 174 this.subscriptions.push(
175 175 this.uploadService
176 176 .getFileData(this.submissionId, this.sectionId, this.fileId).pipe(
177 177 filter((bitstream) => isNotUndefined(bitstream)))
178 178 .subscribe((bitstream) => {
179 - this.fileData = bitstream;
180 - }
179 + this.fileData = bitstream;
180 + }
181 181 )
182 182 );
183 183 }
184 184 }
185 185
186 186 /**
187 187 * Initialize instance variables
188 188 */
189 189 ngOnInit() {
190 190 this.formId = this.formService.getUniqueId(this.fileId);

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut