fix: update docs api to match studio (#21862)

* fix: update branch docs to match latest api

* fix: type errors
This commit is contained in:
Han Qiao authored and GitHub committed 2024-03-08 11:44:34 +08:00
1 parent 24ac4adb79
commit e10dd0cf2f
4 files changed
+1072 -450

No files matched your search

@@ -58,7 +58,7 @@ const projectsStore = proxy({
selectedProject: null as Project | null,
setSelectedOrgProject: (org: Org | null, project: Project | null) => {
projectsStore.selectedOrg = org
storeOrRemoveNull('local', LOCAL_STORAGE_KEYS.SAVED_ORG, org?.id)
storeOrRemoveNull('local', LOCAL_STORAGE_KEYS.SAVED_ORG, org?.id.toString())
projectsStore.selectedProject = project
// @ts-ignore -- problem in OpenAPI spec -- project has ref property