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 committed Sep 26, 2019
1 parent 67fc87e commit 585ac15
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 585ac15

Please sign in to comment.