Skip to content

Commit

Permalink
Fix fields should be editable for a new script
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Tanagra <[email protected]>
  • Loading branch information
jimtng committed Feb 7, 2024
1 parent 1d5d217 commit 439245b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default {
return this.rule.tags.filter((t) => !this.isScriptTag(t) && !this.isSceneTag(t)).length
},
editable () {
return this.rule && this.rule.editable
return this.createMode || (this.rule && this.rule.editable)
}
},
methods: {
Expand Down

0 comments on commit 439245b

Please sign in to comment.