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

Method removeGroup

apps/reader/src/models/reader.ts:549–552  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

547 }
548
549 removeGroup(index: number) {
550 this.groups.splice(index, 1)
551 this.focusedIndex = updateIndex(this.groups, index)
552 }
553
554 addGroup(tabs: Array<Tab | TabParam>, index = this.focusedIndex + 1) {
555 const group = proxy(new Group(tabs))

Callers 2

removeTabMethod · 0.95
ReaderGroupFunction · 0.80

Calls 1

updateIndexFunction · 0.85

Tested by

no test coverage detected