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:
softwarefactory-project-zuul[bot] 2021-03-02 19:51:07 +00:00 committed by GitHub
commit 0b54ee65f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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 />

View File

@ -117,7 +117,7 @@ function Inventories({ i18n }) {
t`Schedule details`
),
[`${inventorySourcesPath}/${nestedObject?.id}/notifications`]: i18n._(
t`Notifcations`
t`Notifications`
),
});
},

View File

@ -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);