mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 02:17:37 -02:30
Merge pull request #9459 from nixocio/ui_fix_minor_issues
Fix minor UI issues Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -62,7 +62,7 @@ function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n }) {
|
|||||||
<DropdownToggle
|
<DropdownToggle
|
||||||
toggleIndicator={null}
|
toggleIndicator={null}
|
||||||
onToggle={onToggle}
|
onToggle={onToggle}
|
||||||
aria-label={i18n._(`relaunch jobs`)}
|
aria-label={i18n._(t`relaunch jobs`)}
|
||||||
id="relaunch_jobs"
|
id="relaunch_jobs"
|
||||||
isPrimary
|
isPrimary
|
||||||
>
|
>
|
||||||
@@ -83,7 +83,7 @@ function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n }) {
|
|||||||
<DropdownToggle
|
<DropdownToggle
|
||||||
toggleIndicator={null}
|
toggleIndicator={null}
|
||||||
onToggle={onToggle}
|
onToggle={onToggle}
|
||||||
aria-label={i18n._(`relaunch jobs`)}
|
aria-label={i18n._(t`relaunch jobs`)}
|
||||||
id="relaunch_jobs"
|
id="relaunch_jobs"
|
||||||
>
|
>
|
||||||
<RocketIcon />
|
<RocketIcon />
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ function Inventories({ i18n }) {
|
|||||||
t`Schedule details`
|
t`Schedule details`
|
||||||
),
|
),
|
||||||
[`${inventorySourcesPath}/${nestedObject?.id}/notifications`]: i18n._(
|
[`${inventorySourcesPath}/${nestedObject?.id}/notifications`]: i18n._(
|
||||||
t`Notifcations`
|
t`Notifications`
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ function WorkflowJobTemplateAdd() {
|
|||||||
const {
|
const {
|
||||||
data: { id },
|
data: { id },
|
||||||
} = await WorkflowJobTemplatesAPI.create(templatePayload);
|
} = 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`);
|
history.push(`/templates/workflow_job_template/${id}/visualizer`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
setFormSubmitError(err);
|
setFormSubmitError(err);
|
||||||
|
|||||||
Reference in New Issue
Block a user