Skip to content

Commit

Permalink
Merge branch 'main' into c8d34-apply-logic-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JhumanJ authored Sep 18, 2023
2 parents 7364167 + 844aa4e commit 0bd10f6
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 0bd10f6

Please sign in to comment.