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

Function setCurrentTabId

frontend/src/react/stores/sqlEditor/tab.ts:180–185  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

178 currentTabId: "",
179
180 setCurrentTabId(id) {
181 set((s) => {
182 s.currentTabId = id;
183 });
184 persistCurrentTabId(id);
185 },
186
187 setOpenTabListOrder(order) {
188 set((s) => {

Callers 1

useTabsFunction · 0.85

Calls 2

setFunction · 0.85
persistCurrentTabIdFunction · 0.85

Tested by

no test coverage detected