MCPcopy Create free account
hub / github.com/pacexy/flow / toggleResult

Method toggleResult

apps/reader/src/models/reader.ts:234–237  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

232 }
233
234 toggleResult(id: string) {
235 const item = find(this.results, id)
236 if (item) item.expanded = !item.expanded
237 }
238
239 showPrevLocation() {
240 this.locationToReturn = this.location

Callers 1

ResultRowFunction · 0.80

Calls 1

findFunction · 0.90

Tested by

no test coverage detected