Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
useTabs
Function · 0.85
Calls
2
set
Function · 0.85
persistCurrentTabId
Function · 0.85
Tested by
no test coverage detected