MCPcopy Create free account
hub / github.com/error311/FileRise / refreshSourceSelectorSafe

Function refreshSourceSelectorSafe

public/js/adminPanel.js:1847–1853  ·  view source on GitHub ↗
(origin)

Source from the content-addressed store, hash-verified

1845 };
1846
1847 const refreshSourceSelectorSafe = async (origin) => {
1848 try {
1849 if (typeof window.__frRefreshSourceSelector === 'function') {
1850 await window.__frRefreshSourceSelector({ origin });
1851 }
1852 } catch (e) { /* ignore */ }
1853 };
1854
1855 const normalizeTestState = (value) =>
1856 (value === 'testing' || value === 'ok' || value === 'warning' || value === 'error') ? value : 'idle';

Callers 1

initSourcesSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected