We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d1b128 commit 1ba2adfCopy full SHA for 1ba2adf
src/user/Admin/Tickets/TicketDiscussion/Discussion/Discussion.js
@@ -128,6 +128,7 @@ class Discussion extends Component {
128
<Button
129
style={{ margin: "8px" }}
130
onClick={this.handleUpdateTicket}
131
+ disabled={this.props.ticket.content === this.state.content}
132
>
133
<SaveButton />
134
Save
src/user/Admin/Tickets/TicketDiscussion/Layout/Title.js
@@ -75,7 +75,10 @@ class Title extends Component {
75
<CancelButton />
76
Cancel
77
</Button>
78
- <Button style={{ display: "flex" }}>
+ <Button
79
+ disabled={this.props.ticket.title === this.state.title}
80
+ style={{ display: "flex" }}
81
+ >
82
<SaveButton onClick={this.handleSave} />
83
84
0 commit comments