rafmacalaba commited on
Commit
23b9b98
·
verified ·
1 Parent(s): 0b96e80

fix flag variable regression

Browse files
Files changed (1) hide show
  1. 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)