Initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
module.exports = function (currentRoute, modals) {
|
||||
var routeName = currentRoute[0];
|
||||
|
||||
if (routeName !== 'modal' && !modals.keepOpenOnRouteChange()) {
|
||||
modals.destroy();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user