diff --git a/admin/src/components/ConfigList/index.js b/admin/src/components/ConfigList/index.js index 03aeee2..f2ed7c2 100644 --- a/admin/src/components/ConfigList/index.js +++ b/admin/src/components/ConfigList/index.js @@ -35,7 +35,7 @@ const ConfigList = ({ diff, isLoading }) => { let formattedRows = []; Object.keys(diff.fileConfig).map((configName) => { const type = configName.split('.')[0]; // Grab the first part of the filename. - const name = configName.split(/\.(.+)/)[1].split('.')[0] // Grab the rest of the filename minus the file extension. + const name = configName.split(/\.(.+)/)[1]; // Grab the rest of the filename minus the file extension. formattedRows.push({ config_name: name,