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

Function getVal

public/js/adminPortals.js:2436–2439  ·  view source on GitHub ↗
(selector)

Source from the content-addressed store, hash-verified

2434 : {};
2435
2436 const getVal = (selector) => {
2437 const el = card.querySelector(selector);
2438 return el ? el.value || '' : '';
2439 };
2440
2441 const label = getVal('[data-portal-field="label"]').trim();
2442 const folder = getVal('[data-portal-field="folder"]').trim();

Callers 1

saveClientPortalsFromUIFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected