{/* Source App Icon */}
{/* Destination App Icon */}
{
e.stopPropagation();
window.open(`${window.location.origin}/usecases/${usecase.name.toLowerCase().replaceAll(" ", "_")}`, "_blank");
}}
sx={{
color: theme.palette.primary.main,
cursor: "pointer",
}}
/>
{
e.stopPropagation();
}}
onChange={(e) => {
e.preventDefault();
e.stopPropagation();
handleToggle(usecase.id);
}}
size="medium"
sx={{
"& .MuiSwitch-switchBase.Mui-checked": {
color: "#4CAF50",
},
"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track": {
backgroundColor: "#4CAF50",
},
}}
/>
{
e.stopPropagation();
handleClick(e);
}}
size="small"
sx={{
color: theme.palette.text.primary,
zIndex: 20,
"&:hover": {
backgroundColor: themeMode === "dark" ? "rgba(255, 255, 255, 0.1)" : "rgba(0, 0, 0, 0.05)",
},
}}
>