MCPcopy Create free account
hub / github.com/bytebase/bytebase / setOpenTabListOrder

Function setOpenTabListOrder

frontend/src/react/stores/sqlEditor/tab.ts:187–192  ·  view source on GitHub ↗
(order)

Source from the content-addressed store, hash-verified

185 },
186
187 setOpenTabListOrder(order) {
188 set((s) => {
189 s.openTmpTabList = order;
190 });
191 persistOpenTabs(order);
192 },
193
194 addTab(payload, beside = false) {
195 const defaultTab: SQLEditorTab = {

Callers

nothing calls this directly

Calls 2

setFunction · 0.85
persistOpenTabsFunction · 0.85

Tested by

no test coverage detected