diff --git a/dev/Common/Links.js b/dev/Common/Links.js index fd861eb05..1c4f8ef8f 100644 --- a/dev/Common/Links.js +++ b/dev/Common/Links.js @@ -19,7 +19,7 @@ export const * @param {string=} startupUrl * @returns {string} */ - root = (startupUrl = '') => HASH_PREFIX + pString(startupUrl), + root = () => HASH_PREFIX, /** * @returns {string} diff --git a/dev/View/User/SystemDropDown.js b/dev/View/User/SystemDropDown.js index c15aae9df..36c948d1b 100644 --- a/dev/View/User/SystemDropDown.js +++ b/dev/View/User/SystemDropDown.js @@ -4,7 +4,7 @@ import { MessageUserStore } from 'Stores/User/Message'; //import { FolderUserStore } from 'Stores/User/Folder'; import { Capa, Scope } from 'Common/Enums'; -import { /*root,*/ settings } from 'Common/Links'; +import { root, settings } from 'Common/Links'; import { showScreenPopup } from 'Knoin/Knoin'; import { AbstractViewRight } from 'Knoin/AbstractViews'; @@ -83,6 +83,7 @@ export class SystemDropDownUserView extends AbstractViewRight { AccountUserStore.loading(false); */ // rl.route.reload(); + location.href = root(); location.reload(); } }, {Email:account.email}