mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
Simplify structure of QA error data
This commit is contained in:
@@ -175,10 +175,9 @@ function readQAErrorIcons(faIcons, tnpIcons) {
|
||||
const qa = read('data/qa_errors.json');
|
||||
|
||||
for (const service in qa.services) {
|
||||
for (const error in qa.services[service].errorTypes) {
|
||||
for (const error in qa.services[service].errorIcons) {
|
||||
const icon = qa.services[service]
|
||||
.errorTypes[error]
|
||||
.icon;
|
||||
.errorIcons[error];
|
||||
|
||||
// fontawesome icon, remember for later
|
||||
if (/^fa[srb]-/.test(icon)) {
|
||||
|
||||
Reference in New Issue
Block a user