diff options
author | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-11 23:39:30 +0000 |
---|---|---|
committer | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-11 23:39:30 +0000 |
commit | 004367fc1fd389b169821eb2d73266490f409999 (patch) | |
tree | 1b7e6f13c03326a957bdb78351853f429156b3ae /modern/src/settings/MaintenancePage.js | |
parent | 1b93de84e2bf6a6532bdb03e1ae75e47061a4dca (diff) | |
parent | 702e674ecce7de1a4f4318ef8f30c572264a4560 (diff) | |
download | trackermap-web-004367fc1fd389b169821eb2d73266490f409999.tar.gz trackermap-web-004367fc1fd389b169821eb2d73266490f409999.tar.bz2 trackermap-web-004367fc1fd389b169821eb2d73266490f409999.zip |
Merge remote-tracking branch 'upstream/master' into group-config
Diffstat (limited to 'modern/src/settings/MaintenancePage.js')
-rw-r--r-- | modern/src/settings/MaintenancePage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/settings/MaintenancePage.js b/modern/src/settings/MaintenancePage.js index 9d60937d..89ebaa12 100644 --- a/modern/src/settings/MaintenancePage.js +++ b/modern/src/settings/MaintenancePage.js @@ -30,12 +30,12 @@ const MaintenancePage = () => { const convertToList = (attributes) => { const otherList = []; - for (const key in attributes) { + Object.keys(attributes).forEach((key) => { const value = attributes[key]; if (value.type === 'number') { otherList.push({ key, name: value.name, type: value.type }); } - } + }); return otherList; }; |