v3-ui #99

Merged
Vishnu merged 28 commits from v3-ui into main 2025-06-12 04:27:40 +00:00
5 changed files with 6 additions and 7 deletions
Showing only changes of commit 9e25fb7ace - Show all commits

View File

@ -33,9 +33,6 @@ const SideBarLeft: React.FC = () => {
console.log(value);
};
console.log('isVersionSaved: ', isVersionSaved);
console.log('toggleUILeft: ', toggleUILeft);
return (
<div
className={`sidebar-left-wrapper ${toggleUILeft && (!isVersionSaved || activeModule !== "simulation") ? "open" : "closed"

View File

@ -137,6 +137,7 @@ const Simulations: React.FC = () => {
}
);
}
}, [selectedProduct.productUuid, products]);
return (

View File

@ -340,4 +340,4 @@ const Panel: React.FC<PanelProps> = ({
);
};
export default Panel;
export default Panel;

View File

@ -626,11 +626,12 @@ interface CompareStore {
}
export const useCompareStore = create<CompareStore>((set) => ({
comparePopUp: true,
comparePopUp: false,
setComparePopUp: (value) => set({ comparePopUp: value }),
toggleComparePopUp: () =>
set((state) => ({ comparePopUp: !state.comparePopUp })),
}));
// Save state store
interface SaveVersionStore {
isVersionSaved: boolean;

View File

@ -144,7 +144,7 @@
&.active {
background: var(--background-color-button);
color: var(--text-color);
color: var(--text-button-color);
}
}
}
@ -342,4 +342,4 @@
font-family: #{$font-roboto};
cursor: pointer;
}
}
}