MCPcopy Create free account
hub / github.com/basecamp/omarchy / labelFor

Function labelFor

shell/plugins/menu/MenuModel.js:273–277  ·  view source on GitHub ↗
(entry, checkedResults)

Source from the content-addressed store, hash-verified

271}
272
273function labelFor(entry, checkedResults) {
274 if (!entry) return ""
275 if (entry.checked && checkedResults && checkedResults[entry.id]) return entry.label + " ✓"
276 return entry.label
277}
278
279function searchableToken(value) {
280 return String(value || "").replace(/[._-]+/g, " ")

Callers 1

displayRowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected