Skip to content

Commit 2e4d2b8

Browse files
committed
refactor: remove unused isWorkflowEditorUnlocked property from AppConfigurationContextType
1 parent e25e10d commit 2e4d2b8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/Pages/Applications/DevtronApps/Details/AppConfigurations/AppConfig.types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ export interface AppConfigurationContextType
165165
isJobView: boolean
166166
envIdToEnvApprovalConfigurationMap: ResourceIdToResourceApprovalPolicyConfigMapType
167167
lastUnlockedStage: string
168-
// TODO: Remove this
169-
isWorkflowEditorUnlocked: boolean
170168
getRepo: string
171169
envConfig: EnvConfigurationState
172170
}

src/Pages/Applications/DevtronApps/Details/AppConfigurations/AppConfiguration.provider.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export const AppConfigurationProvider = (props: AppConfigurationProviderProps) =
5454
deleteApp,
5555
canShowExternalLinks,
5656
showCannotDeleteTooltip,
57-
isWorkflowEditorUnlocked: state.isUnlocked.workflowEditor,
5857
toggleRepoSelectionTippy,
5958
getRepo: showRepoOnDelete,
6059
isJobView: resourceKind === ResourceKindType.job,

0 commit comments

Comments
 (0)