Skip to content

Commit

Permalink
Fix item-add save (#2346)
Browse files Browse the repository at this point in the history
Regression from #2339 causing a new item unable to be created / saved.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
  • Loading branch information
jimtng committed Feb 13, 2024
1 parent 24a7bf0 commit 76aebaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default {
}
},
save () {
if (!this.item.editable) return
if (!this.editable) return
if (this.currentTab === 'code') {
if (!this.fromYaml()) return
}
Expand Down

0 comments on commit 76aebaf

Please sign in to comment.