Skip to content

Commit

Permalink
simplify check to account for None value
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-duong-bib committed Apr 30, 2024
1 parent 605ae7e commit 06d3a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/operations/CommandPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function isLinkEditable(currentLink) {
return (
operationStore.isOperationRunning() &&
currentLink.status === -1 &&
!(currentLink.finish.length > 0 || currentLink.output === "True")
!(currentLink.finish || currentLink.output === "True")
);
}
Expand Down

0 comments on commit 06d3a3e

Please sign in to comment.