From 0023591bb07f54fb11c74010286e57742646fc09 Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 12 Jun 2019 14:45:51 -0400 Subject: [PATCH] Removes unnecessary variable --- .../client/src/shared/list-generator/list-generator.factory.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/ui/client/src/shared/list-generator/list-generator.factory.js b/awx/ui/client/src/shared/list-generator/list-generator.factory.js index 1523895dff..a3227121d6 100644 --- a/awx/ui/client/src/shared/list-generator/list-generator.factory.js +++ b/awx/ui/client/src/shared/list-generator/list-generator.factory.js @@ -244,8 +244,7 @@ export default ['$compile', 'Attr', 'Icon', // Show the "no items" box when loading is done and the user isn't actively searching and there are no results if (options.showEmptyPanel === undefined || options.showEmptyPanel === true){ - const emptyListClass = list.emptyListClass || "List-noItems"; - html += `
`; + html += `
`; html += (list.emptyListText) ? list.emptyListText : i18n._("PLEASE ADD ITEMS TO THIS LIST"); html += "
"; }