Web: Management: fixed the transition after creating the portal
This commit is contained in:
parent
8a185b09f0
commit
67f80d74fa
@ -70,7 +70,8 @@ const CreatePortalDialog = () => {
|
||||
try {
|
||||
const res = await createNewPortal(data);
|
||||
if (visit) {
|
||||
return window.open(res?.reference, "_self");
|
||||
const protocol = window?.location?.protocol;
|
||||
return window.open(`${protocol}//${res?.tenant?.domain}/`, "_self");
|
||||
}
|
||||
await authStore.settingsStore.getAllPortals();
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user