fix(awards): hide Missing refs where it cannot mean anything
"In this award's scope but with no reference" needs a scope to be in. On a worldwide reference award — POTA, SOTA, IOTA, WWFF — every contact anywhere would qualify, so the backend returns nothing and the window says it found nothing. The button was there regardless, and could only ever open that. It now appears only for an award scoped to a DXCC entity, which is what the help text underneath used to have to explain. Better than what I did first, which was to make a useless screen fast. Kept from that: the assign dropdown is searched rather than scrolled above 300 references, and the reference list is not fetched until there are rows to assign it to. Both still bite on a scoped award with a long list — Russian districts, the bigger European ones.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user