Cloud sync
This commit is contained in:
@@ -578,7 +578,7 @@ const LeftSideBar = ({ userdata, serverside, globalUrl, notifications, }) => {
|
||||
},
|
||||
}}
|
||||
>
|
||||
{userdata && (userdata?.org_status?.includes("integration_partner") && userdata?.org_status?.includes("sub_org")) ? null : (
|
||||
{userdata && (userdata?.org_status?.includes("integration_partner") && userdata?.active_org?.role !== "admin") ? null : (
|
||||
<>
|
||||
<ToggleButtonGroup
|
||||
value={currentSelectedTheme}
|
||||
|
||||
@@ -13,7 +13,7 @@ import { makeStyles } from '@mui/material/styles';
|
||||
import { useInterval } from "react-powerhooks";
|
||||
import { isMobile } from "react-device-detect";
|
||||
import Markdown from "react-markdown";
|
||||
import theme from '../theme.jsx';
|
||||
import {getTheme} from '../theme.jsx';
|
||||
import rehypeRaw from "rehype-raw";
|
||||
import RecentWorkflow from "../components/RecentWorkflow.jsx";
|
||||
|
||||
@@ -58,6 +58,8 @@ const hrefStyle = {
|
||||
|
||||
const RunWorkflow = (defaultprops) => {
|
||||
const { globalUrl, userdata, isLoaded, isLoggedIn, setIsLoggedIn, setCookie, register, serverside } = defaultprops;
|
||||
const { themeMode, brandColor } = useContext(Context);
|
||||
const theme = getTheme(themeMode, brandColor);
|
||||
|
||||
const { supportEmail } = useContext(Context);
|
||||
let navigate = useNavigate();
|
||||
|
||||
@@ -2695,7 +2695,7 @@ const Workflows2 = (props) => {
|
||||
style={{
|
||||
height: 24,
|
||||
width: 24,
|
||||
filter: themeMode === "dark" ? "brightness(0.6)" : "brightness(0.9)",
|
||||
filter: themeMode === "dark" ? "brightness(0.6)" : "brightness(1)",
|
||||
cursor: "pointer",
|
||||
}}
|
||||
onClick={() => {
|
||||
@@ -2716,7 +2716,7 @@ const Workflows2 = (props) => {
|
||||
style={{
|
||||
height: 24,
|
||||
width: 24,
|
||||
filter: "brightness(0.6)",
|
||||
filter: themeMode === "dark" ? "brightness(0.6)" : "brightness(1)",
|
||||
cursor: "pointer",
|
||||
}}
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user