Ensure previews are not opened in edit mode
Apparently component state can survive route changes there. o_O
This commit is contained in:
1 parent
e3f1010d59
commit
4d8e25eaf7
1 file changed
+2
@@ -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