feat: add 'Open in Explore' link for each apps on studio (#11402)

This commit is contained in:
kurokobo
2024-12-09 13:04:03 +09:00
committed by GitHub
parent 061c0b10fd
commit 230fa3286b
8 changed files with 66 additions and 7 deletions

View File

@@ -12,8 +12,8 @@ export const fetchAppDetail = (id: string): Promise<any> => {
return get(`/explore/apps/${id}`)
}
export const fetchInstalledAppList = () => {
return get('/installed-apps')
export const fetchInstalledAppList = (app_id?: string | null) => {
return get(`/installed-apps${app_id ? `?app_id=${app_id}` : ''}`)
}
export const installApp = (id: string) => {