Skip to content

Commit

Permalink
fix: make publish btn usable again
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Dec 23, 2024
1 parent 9ac01ae commit 150c1e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class PublishButtonComponent {
}

publishRecord() {
if (this.publishWarning.length) {
if (this.publishWarning && this.publishWarning.length) {
this.openConfirmationMenu()
} else {
this.saveRecord()
Expand Down

0 comments on commit 150c1e6

Please sign in to comment.