Skip to content

Commit

Permalink
Set text buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Oct 16, 2024
1 parent 17a6673 commit d78168b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class Edit extends Component {
cancelLabel={
data.cancel_label || this.props.intl.formatMessage(messages.cancel)
}
textButtons={true}
/>

<SidebarPortal selected={this.props.selected}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const FormBlockView = ({ data, id, properties, metadata, path }) => {
onCancel={data.show_cancel ? onCancel : null}
submitLabel={data.submit_label || intl.formatMessage(messages.submit)}
cancelLabel={data.cancel_label || intl.formatMessage(messages.cancel)}
textButtons={true}
/>
)}
</div>
Expand Down

0 comments on commit d78168b

Please sign in to comment.