Shorten public UI routes

This commit is contained in:
AidarKC
2026-07-22 14:12:10 +04:00
parent 93673e5786
commit d24d1c178b
9 changed files with 220 additions and 32 deletions
+1 -1
View File
@@ -1200,7 +1200,7 @@ export function render({ navigate, route }) {
const login = state.session.login;
const storagePwd = state.session.storagePwdInMemory;
if (!login || !storagePwd) {
state.authReturnHash = window.location.pathname || '/channels-list';
state.authReturnHash = window.location.pathname || '/channels';
navigate('login-view');
throw new Error('Для этого действия нужно войти');
}