Skip to content

Commit

Permalink
fix(pipeline): unset locked instead of lock when unlocking pipeli…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy Louie authored and yunzhangit committed Mar 28, 2021
1 parent 9caefa1 commit 0f00f75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function UnlockPipelineModal(props: IUnlockPipelineModalProps) {

function unlockPipeline() {
const newPipeline = { ...pipeline };
unset(newPipeline, 'lock');
unset(newPipeline, 'locked');
PipelineConfigService.savePipeline(newPipeline).then(
() => closeModal(),
response => {
Expand Down

0 comments on commit 0f00f75

Please sign in to comment.