mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Move Knoin routOff, routOn, routReload & setHash to rl.route.*
This commit is contained in:
parent
03a40f3249
commit
467f615713
17 changed files with 83 additions and 111 deletions
|
|
@ -14,8 +14,6 @@ import { initOnStartOrLangChange, initNotificationLanguage } from 'Common/Transl
|
|||
import LanguageStore from 'Stores/Language';
|
||||
import ThemeStore from 'Stores/Theme';
|
||||
|
||||
import { routeReload } from 'Knoin/Knoin';
|
||||
|
||||
const Settings = rl.settings;
|
||||
|
||||
class AbstractApp {
|
||||
|
|
@ -89,7 +87,7 @@ class AbstractApp {
|
|||
if (location.href !== logoutLink) {
|
||||
setTimeout(() => (Settings.app('inIframe') ? parent : window).location.href = logoutLink, 100);
|
||||
} else {
|
||||
routeReload();
|
||||
rl.route.reload();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue