mirror of
https://github.com/ansible/awx.git
synced 2026-01-23 07:28:02 -03:30
Fix minor UI issues
Fix minor UI issues * fix typo * add string to be translated * remove not necessary `await`
This commit is contained in:
parent
d1c49d45bf
commit
5969d9e3e2
@ -62,7 +62,7 @@ function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n }) {
|
||||
<DropdownToggle
|
||||
toggleIndicator={null}
|
||||
onToggle={onToggle}
|
||||
aria-label={i18n._(`relaunch jobs`)}
|
||||
aria-label={i18n._(t`relaunch jobs`)}
|
||||
id="relaunch_jobs"
|
||||
isPrimary
|
||||
>
|
||||
@ -83,7 +83,7 @@ function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n }) {
|
||||
<DropdownToggle
|
||||
toggleIndicator={null}
|
||||
onToggle={onToggle}
|
||||
aria-label={i18n._(`relaunch jobs`)}
|
||||
aria-label={i18n._(t`relaunch jobs`)}
|
||||
id="relaunch_jobs"
|
||||
>
|
||||
<RocketIcon />
|
||||
|
||||
@ -117,7 +117,7 @@ function Inventories({ i18n }) {
|
||||
t`Schedule details`
|
||||
),
|
||||
[`${inventorySourcesPath}/${nestedObject?.id}/notifications`]: i18n._(
|
||||
t`Notifcations`
|
||||
t`Notifications`
|
||||
),
|
||||
});
|
||||
},
|
||||
|
||||
@ -29,7 +29,7 @@ function WorkflowJobTemplateAdd() {
|
||||
const {
|
||||
data: { id },
|
||||
} = await WorkflowJobTemplatesAPI.create(templatePayload);
|
||||
await Promise.all(await submitLabels(id, labels, organizationId));
|
||||
await Promise.all(submitLabels(id, labels, organizationId));
|
||||
history.push(`/templates/workflow_job_template/${id}/visualizer`);
|
||||
} catch (err) {
|
||||
setFormSubmitError(err);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user