forked from MapComplete/MapComplete
Feature: include username of the person closing a maproulette note
This commit is contained in:
parent
c26b9ae7f7
commit
b47d0f8c6a
4 changed files with 14 additions and 10 deletions
|
|
@ -38,8 +38,7 @@
|
|||
async function apply() {
|
||||
const maproulette_id = tags.data[maproulette_id_key] ?? tags.data.mr_taskId ?? tags.data.id
|
||||
try {
|
||||
await Maproulette.singleton.closeTask(Number(maproulette_id), Number(statusToSet), {
|
||||
tags: `MapComplete MapComplete:${state.theme.id}`,
|
||||
await Maproulette.singleton.closeTask(Number(maproulette_id), Number(statusToSet), state, {
|
||||
comment: feedback,
|
||||
})
|
||||
tags.data["mr_taskStatus"] = Maproulette.STATUS_MEANING[Number(statusToSet)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue