MCPcopy Index your code
hub / github.com/dataease/SQLBot / isWsAdminRouter

Function isWsAdminRouter

frontend/src/router/watch.ts:77–79  ·  view source on GitHub ↗
(to?: any)

Source from the content-addressed store, hash-verified

75}
76
77const isWsAdminRouter = (to?: any) => {
78 return wsAdminRouterList.some((item: string) => to?.path?.startsWith(item))
79}
80const loadXpackStatic = () => {
81 if (document.getElementById('sqlbot_xpack_static')) {
82 return Promise.resolve()

Callers 1

accessCrossPermissionFunction · 0.85

Calls 1

someMethod · 0.45

Tested by

no test coverage detected