mirror of
https://github.com/makeplane/plane.git
synced 2026-07-12 21:40:18 +02:00
Merge pull request #1883 from makeplane/sync/ce-ee
Sync: Community Changes
This commit is contained in:
@@ -4,6 +4,8 @@ import { observer } from "mobx-react";
|
||||
import { IState } from "@plane/types";
|
||||
// components
|
||||
import { StateItemTitle } from "@/components/project-states/state-item-title";
|
||||
// constants
|
||||
import { DISPLAY_WORKFLOW_PRO_CTA } from "@/constants/state";
|
||||
//
|
||||
import { AddStateTransition } from "./add-state-transition";
|
||||
|
||||
@@ -29,7 +31,9 @@ export const StateItemChild = observer((props: StateItemChildProps) => {
|
||||
disabled={disabled}
|
||||
state={state}
|
||||
/>
|
||||
<AddStateTransition workspaceSlug={workspaceSlug} projectId={projectId} parentStateId={state.id} />
|
||||
{DISPLAY_WORKFLOW_PRO_CTA && (
|
||||
<AddStateTransition workspaceSlug={workspaceSlug} projectId={projectId} parentStateId={state.id} />
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
@@ -47,3 +47,5 @@ export const PENDING_STATE_GROUPS = [
|
||||
STATE_GROUPS.started.key,
|
||||
STATE_GROUPS.cancelled.key,
|
||||
];
|
||||
|
||||
export const DISPLAY_WORKFLOW_PRO_CTA = false;
|
||||
|
||||
Reference in New Issue
Block a user