MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / listText

Function listText

deployments/desktop/static/desktop.js:4964–4967  ·  view source on GitHub ↗
(items, limit = 8)

Source from the content-addressed store, hash-verified

4962 }
4963
4964 function listText(items, limit = 8) {
4965 const values = splitListValue(items).slice(0, limit);
4966 return values.length ? values.join(state.locale === "en" ? ", " : "、") : ui().settings.profileFields.notRecorded;
4967 }
4968
4969 function editableListValue(items) {
4970 return splitListValue(items).join("; ");

Callers

nothing calls this directly

Calls 2

splitListValueFunction · 0.85
uiFunction · 0.85

Tested by

no test coverage detected