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 422f86b commit c6c5b66Copy full SHA for c6c5b66
app/javascript/components/data-tables/datastore/class-fields-editor.jsx
@@ -191,7 +191,7 @@ export const ClassFieldsEditor = (props) => {
191
192
<Modal
193
open={state.isModalOpen}
194
- modalHeading="Edit"
+ modalHeading={state.selectedRowId === undefined ? __('Add New Field') : __('Edit Field')}
195
onRequestClose={handleModalClose}
196
passiveModal
197
>
@@ -206,7 +206,7 @@ export const ClassFieldsEditor = (props) => {
206
onSubmit={onModalSubmit}
207
onCancel={handleModalClose}
208
canReset
209
- buttonsLabels={{ submitLabel: __('Accept') }}
+ buttonsLabels={{ submitLabel: __('Save') }}
210
/>
211
</Modal>
212
0 commit comments