Skip to content

Commit b085062

Browse files
committed
feat(X-Pack): fix menu
1 parent 5d42581 commit b085062

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = [
3939
"pyyaml (>=6.0.2,<7.0.0)",
4040
"fastapi-mcp (>=0.3.4,<0.4.0)",
4141
"tabulate>=0.9.0",
42-
"sqlbot-xpack>=0.0.3.36,<1.0.0",
42+
"sqlbot-xpack>=0.0.3.37,<1.0.0",
4343
"fastapi-cache2>=0.2.2",
4444
"sqlparse>=0.5.3",
4545
"redis>=6.2.0",

frontend/src/router/watch.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ import { useCache } from '@/utils/useCache'
33
import { useAppearanceStoreWithOut } from '@/stores/appearance'
44
import { useUserStore } from '@/stores/user'
55
import { request } from '@/utils/request'
6+
import type { Router } from 'vue-router'
67

78
const appearanceStore = useAppearanceStoreWithOut()
89
const userStore = useUserStore()
910
const { wsCache } = useCache()
1011
const whiteList = ['/login']
1112
const assistantWhiteList = ['/assistant', '/embeddedPage', '/401']
12-
export const watchRouter = (router: any) => {
13+
export const watchRouter = (router: Router) => {
1314
router.beforeEach(async (to: any, from: any, next: any) => {
1415
await loadXpackStatic()
1516
await appearanceStore.setAppearance()

0 commit comments

Comments
 (0)