Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Disabled email subject based on delivered action
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhgrg committed Nov 6, 2019
1 parent a0fdd27 commit e83c44d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/templates/components/gh-post-settings-menu.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@
input=(action (mut emailSubjectScratch) value="target.value")
focus-out=(action "setEmailSubject" emailSubjectScratch)
stopEnterKeyDownPropagation=true
disabled=deliveredAction
data-test-field="email-subject"}}
{{gh-error-message errors=post.errors property="emailSubject" data-test-error="email-subject"}}
{{/gh-form-group}}
Expand Down
1 change: 1 addition & 0 deletions app/templates/editor.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
deletePost=(action "toggleDeletePostModal")
updateSlug=updateSlug
savePost=savePost
deliveredAction=this.deliveredAction
}}
{{/liquid-wormhole}}
{{/if}}
Expand Down

0 comments on commit e83c44d

Please sign in to comment.