Ensure previews are not opened in edit mode
Apparently component state can survive route changes there. o_O
This commit is contained in:
@@ -48,6 +48,8 @@ export default Route.extend({
|
||||
if (isPresent(model)) {
|
||||
controller.set('currentDirPath', model.currentDirPath);
|
||||
}
|
||||
|
||||
controller.set('documentShowEditor', false);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user