Skip to content

Commit d7ab120

Browse files
author
Doris Lam
committed
fix image upload id
1 parent 7e1db50 commit d7ab120

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "view-editor",
3-
"version": "5.0.0-alpha",
3+
"version": "5.0.0-RC1",
44
"description": "View Editor Application",
55
"repository": "https://github.com/Open-MBEE/ve.git",
66
"main": "main.ts",

src/ve-core/editor/editor.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export class EditorController implements IComponentController {
292292
this.uRLSvc.getPutArtifactsURL({
293293
projectId: this.mmsProjectId,
294294
refId: this.mmsRefId,
295-
elementId: this.apiSvc.createUniqueId().replace('MMS', '_hidden_image'),
295+
elementId: '_hidden_image_' + this.apiSvc.createUniqueId(),
296296
}),
297297
true
298298
);

0 commit comments

Comments
 (0)