diff --git a/modules/ui/commit.js b/modules/ui/commit.js index 435ea61b4..62ca53989 100644 --- a/modules/ui/commit.js +++ b/modules/ui/commit.js @@ -65,7 +65,6 @@ export function uiCommit(context) { tags = { comment: context.storage('comment') || '', created_by: ('iD ' + context.version).substr(0, 255), - imagery_used: context.history().imageryUsed().join(';').substr(0, 255), host: detected.host.substr(0, 255), locale: detected.locale.substr(0, 255) }; @@ -83,6 +82,8 @@ export function uiCommit(context) { } tags = _clone(changeset.tags); + tags.imagery_used = context.history().imageryUsed().join(';').substr(0, 255); + changeset = changeset.update({ tags: tags }); var header = selection.selectAll('.header') .data([0]);