added full keycloak support. Partial Quantum backend support, Moved to
.env for config - removed the globalVars variable for a lack of need - changed the documentation page for test of multilevel navigation - added machines page to route - cleaned up dependencies for build - changed config to split imports
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import {
|
||||
Avatar,
|
||||
Button,
|
||||
Divider,
|
||||
Modal,
|
||||
Stack,
|
||||
@@ -25,7 +24,6 @@ import { useState, type ForwardRefExoticComponent } from "react";
|
||||
import { routes } from "Routes/Routes";
|
||||
import keycloak from "Api/Keycloak/Keycloak";
|
||||
import { AuthenticationStore } from "Stores/AuthenticationStore";
|
||||
import { baseUri, baseUrl } from "GlobalVars";
|
||||
import CustomButton from "Components/CustomButton/CustomButton";
|
||||
|
||||
interface SubtleLinkButtonProps {
|
||||
@@ -69,7 +67,12 @@ function Sidebar() {
|
||||
<div className="sidebar_bottom_bottom">
|
||||
<CustomButton
|
||||
text="Подтвердить"
|
||||
onClick={() => keycloak.logout({ redirectUri: baseUri + baseUrl })}
|
||||
onClick={() =>
|
||||
keycloak.logout({
|
||||
redirectUri:
|
||||
window.location.origin + "/" + import.meta.env.VITE_BASE_PATH,
|
||||
})
|
||||
}
|
||||
textSize="lg"
|
||||
color="contrast"
|
||||
></CustomButton>
|
||||
|
||||
Reference in New Issue
Block a user