chore remove unnecessary CTA (#6161)

This commit is contained in:
rahulramesha 2024-12-05 16:37:55 +05:30 committed by GitHub
parent d55ee6d5b8
commit a612a17d28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -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>
);
});

View file

@ -47,3 +47,5 @@ export const PENDING_STATE_GROUPS = [
STATE_GROUPS.started.key,
STATE_GROUPS.cancelled.key,
];
export const DISPLAY_WORKFLOW_PRO_CTA = false;