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
…ne (#7445) (#7446)
  • Loading branch information
spinnakerbot authored and louisjimenez committed Sep 26, 2019
1 parent 0b3e6e4 commit afeed17
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 afeed17

Please sign in to comment.