Skip to content

Commit

Permalink
set mediaManager.rootUrl before calling baseUrlValid in StoryApplicat…
Browse files Browse the repository at this point in the history
…ion. Fix #252
  • Loading branch information
sdumetz committed Feb 19, 2024
1 parent 59867ed commit 2169cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/client/applications/StoryApplication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ export default class StoryApplication
}

// if dragging/dropping have to assume that a non-loading url is still valid
this.mediaManager.rootUrl = this.assetManager.baseUrl;
if(props.dragdrop === true) {
this.assetManager.ins.baseUrlValid.setValue(true);
}
this.mediaManager.rootUrl = this.assetManager.baseUrl;

const tasks = this.system.getMainComponent(CVTaskProvider);
tasks.ins.mode.setValue(mode);
Expand Down

0 comments on commit 2169cbe

Please sign in to comment.