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

Function tf

public/js/adminFolderAccess.js:6–9  ·  view source on GitHub ↗
(key, fallback)

Source from the content-addressed store, hash-verified

4import { sendRequest } from './networkUtils.js?v={{APP_QVER}}';
5
6const tf = (key, fallback) => {
7 const v = t(key);
8 return (v && v !== key) ? v : fallback;
9};
10
11function qs(scope, sel) { return (scope || document).querySelector(sel); }
12function qsa(scope, sel) { return Array.from((scope || document).querySelectorAll(sel)); }

Callers 14

rowHtmlFunction · 0.70
refreshInheritanceFunction · 0.70
setFromViewChangeFunction · 0.70
wireRowFunction · 0.70
renderFolderGrantsUIFunction · 0.70
updateLoadMoreVisibilityFunction · 0.70
applyGroupLocksForUserFunction · 0.70
openUserPermissionsModalFunction · 0.70
loadUserPermissionsListFunction · 0.70
ensureLoadedFunction · 0.70

Calls 1

tFunction · 0.85

Tested by

no test coverage detected