Skip to content

Commit

Permalink
Copied with draft message changes
Browse files Browse the repository at this point in the history
  • Loading branch information
formsdev committed Sep 12, 2023
1 parent 65fb751 commit e7e79ba
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ export default {
el.select()
document.execCommand('copy')
document.body.removeChild(el)
this.alertSuccess((this.isDraft) ? 'Copied! But other people won\'t be able to see the form since it\'s currently in draft mode' : 'Copied!')
if(this.isDraft){
this.alertWarning('Copied! But other people won\'t be able to see the form since it\'s currently in draft mode')
} else {
this.alertSuccess('Copied!')
}
}
}
Expand Down

0 comments on commit e7e79ba

Please sign in to comment.