1. Integerated Dashboard. #96

Closed
Jerald_Golden wants to merge 19 commits from v3 into main
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 922dfb3543 - Show all commits

View File

@ -38,7 +38,6 @@ const UserAuth: React.FC = () => {
const handleLogin = async (e: FormEvent<HTMLFormElement>) => {
e.preventDefault();
const organization = email.split("@")[1].split(".")[0];
try {
const res = await signInApi(email, password, organization, fingerprint);
if (res.message.message === "login successfull") {

View File

@ -20,8 +20,10 @@ import useCameraModeStore, {
import { detectModifierKeys } from "./detectModifierKeys";
import { useSelectedZoneStore } from "../../store/visualization/useZoneStore";
import { useLogger } from "../../components/ui/log/LoggerContext";
import { useComparisonProduct } from "../../store/simulation/useSimulationStore";
const KeyPressListener: React.FC = () => {
const { clearComparisonProduct } = useComparisonProduct();
const { activeModule, setActiveModule } = useModuleStore();
const { setActiveSubTool } = useActiveSubTool();
const { toggleUILeft, toggleUIRight, setToggleUI } = useToggleStore();
@ -170,6 +172,7 @@ const KeyPressListener: React.FC = () => {
clearSelectedZone();
setShowShortcuts(false);
setIsVersionSaved(false);
clearComparisonProduct();
setIsLogListVisible(false);
setIsRenameMode(false);
}