79437528

Date: 2025-02-13 19:29:38
Score: 0.5
Natty:
Report link

So I can't figure why it needed to refresh but if you map allPartnerPros to globalThis.pros it seems to work. I couldn't figure why that the public member won't be set. But this is the workaround:

// allPartnerPros: PartnerPro[] = [];

get allPartnerPros(): PartnerPro[] {
   return globalThis.pros || []
}

set allPartnerPros(value: PartnerPro[]) {
    globalThis.pros = value;
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: adam