From 5969d9e3e2a616c6f664d17b0bf5639b38149107 Mon Sep 17 00:00:00 2001 From: nixocio Date: Mon, 1 Mar 2021 23:04:12 -0500 Subject: [PATCH] Fix minor UI issues Fix minor UI issues * fix typo * add string to be translated * remove not necessary `await` --- awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx | 4 ++-- awx/ui_next/src/screens/Inventory/Inventories.jsx | 2 +- .../WorkflowJobTemplateAdd/WorkflowJobTemplateAdd.jsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx b/awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx index dbd70d13ab..709d31e06c 100644 --- a/awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx +++ b/awx/ui_next/src/components/LaunchButton/ReLaunchDropDown.jsx @@ -62,7 +62,7 @@ function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n }) { @@ -83,7 +83,7 @@ function ReLaunchDropDown({ isPrimary = false, handleRelaunch, i18n }) { diff --git a/awx/ui_next/src/screens/Inventory/Inventories.jsx b/awx/ui_next/src/screens/Inventory/Inventories.jsx index 17ee02b3be..2da4264b0e 100644 --- a/awx/ui_next/src/screens/Inventory/Inventories.jsx +++ b/awx/ui_next/src/screens/Inventory/Inventories.jsx @@ -117,7 +117,7 @@ function Inventories({ i18n }) { t`Schedule details` ), [`${inventorySourcesPath}/${nestedObject?.id}/notifications`]: i18n._( - t`Notifcations` + t`Notifications` ), }); }, diff --git a/awx/ui_next/src/screens/Template/WorkflowJobTemplateAdd/WorkflowJobTemplateAdd.jsx b/awx/ui_next/src/screens/Template/WorkflowJobTemplateAdd/WorkflowJobTemplateAdd.jsx index d9edd77030..933b75ebb4 100644 --- a/awx/ui_next/src/screens/Template/WorkflowJobTemplateAdd/WorkflowJobTemplateAdd.jsx +++ b/awx/ui_next/src/screens/Template/WorkflowJobTemplateAdd/WorkflowJobTemplateAdd.jsx @@ -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);