From 8839fb9af35b6dfa9ecf14ae25b65f9ce221bcd7 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Mon, 19 Oct 2020 13:57:24 -0400 Subject: [PATCH] remove unused comment from template lists --- .../src/screens/Dashboard/shared/DashboardTemplateList.jsx | 1 - awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx | 1 - 2 files changed, 2 deletions(-) diff --git a/awx/ui_next/src/screens/Dashboard/shared/DashboardTemplateList.jsx b/awx/ui_next/src/screens/Dashboard/shared/DashboardTemplateList.jsx index e0a210f8c0..73c12cd0e2 100644 --- a/awx/ui_next/src/screens/Dashboard/shared/DashboardTemplateList.jsx +++ b/awx/ui_next/src/screens/Dashboard/shared/DashboardTemplateList.jsx @@ -140,7 +140,6 @@ function DashboardTemplateList({ i18n }) { jtActions && Object.prototype.hasOwnProperty.call(jtActions, 'POST'); const canAddWFJT = wfjtActions && Object.prototype.hasOwnProperty.call(wfjtActions, 'POST'); - // spreading Set() returns only unique keys const addButtonOptions = []; if (canAddJT) { diff --git a/awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx b/awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx index c225b6ec49..a40def657d 100644 --- a/awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx +++ b/awx/ui_next/src/screens/Template/TemplateList/TemplateList.jsx @@ -134,7 +134,6 @@ function TemplateList({ i18n }) { jtActions && Object.prototype.hasOwnProperty.call(jtActions, 'POST'); const canAddWFJT = wfjtActions && Object.prototype.hasOwnProperty.call(wfjtActions, 'POST'); - // spreading Set() returns only unique keys const addButtonOptions = []; if (canAddJT) {