Don't add "None" to imagery_used tag when other imagery was used

(closes #5565)
This commit is contained in:
Bryan Housel
2018-12-11 16:37:52 -05:00
parent 0d958f04c1
commit 577e0c6503
3 changed files with 10 additions and 3 deletions
+3 -1
View File
@@ -92,7 +92,9 @@ export function uiCommit(context) {
}
tags = _clone(_changeset.tags);
tags.imagery_used = context.history().imageryUsed().join(';').substr(0, 255);
var imageryUsed = context.history().imageryUsed().join(';').substr(0, 255);
tags.imagery_used = imageryUsed || 'None';
_changeset = _changeset.update({ tags: tags });
var header = selection.selectAll('.header')