Spaces:
Running
Running
fix flag variable regression
Browse files- review.html +1 -0
review.html
CHANGED
|
@@ -271,6 +271,7 @@ function renderRef(sp) {
|
|
| 271 |
return;
|
| 272 |
}
|
| 273 |
// revealed after ruling, with user-vs-Luna agreement flag
|
|
|
|
| 274 |
const n = cur().spans.findIndex(x => x.key === sp.key) + 1;
|
| 275 |
const subj = `“${esc(sp.surface)}” (#${n})`;
|
| 276 |
const flag = (youKeep === lunaKeep)
|
|
|
|
| 271 |
return;
|
| 272 |
}
|
| 273 |
// revealed after ruling, with user-vs-Luna agreement flag
|
| 274 |
+
const youKeep = mine === 'DATA_MENTION', lunaKeep = sp.luna_label === 1;
|
| 275 |
const n = cur().spans.findIndex(x => x.key === sp.key) + 1;
|
| 276 |
const subj = `“${esc(sp.surface)}” (#${n})`;
|
| 277 |
const flag = (youKeep === lunaKeep)
|