(opts = {})
| 341 | } |
| 342 | |
| 343 | export async function refreshSourceSelector(opts = {}) { |
| 344 | const nextOpts = { ...opts, force: true }; |
| 345 | if (typeof nextOpts.keepActive === 'undefined') { |
| 346 | nextOpts.keepActive = true; |
| 347 | } |
| 348 | if (!nextOpts.origin) { |
| 349 | nextOpts.origin = 'refresh'; |
| 350 | } |
| 351 | return initSourceSelector(nextOpts); |
| 352 | } |
| 353 | |
| 354 | try { window.__frRefreshSourceSelector = refreshSourceSelector; } catch (e) { /* ignore */ } |
nothing calls this directly
no test coverage detected