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