chore remove unnecessary CTA (#6161)
This commit is contained in:
parent
d55ee6d5b8
commit
a612a17d28
2 changed files with 7 additions and 1 deletions
|
|
@ -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}
|
||||
/>
|
||||
{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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue