Skip to content

Commit

Permalink
fix: small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
albanm committed Nov 26, 2024
1 parent dba58d2 commit c2c8363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion ui/dts/typed-router.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ declare module 'vue-router/auto-routes' {
export interface RouteNamedMap {
'/admin/': RouteRecordInfo<'/admin/', '/admin', Record<never, never>, Record<never, never>>,
'/admin/plugins': RouteRecordInfo<'/admin/plugins', '/admin/plugins', Record<never, never>, Record<never, never>>,
'/dev': RouteRecordInfo<'/dev', '/dev', Record<never, never>, Record<never, never>>,
'/processings/': RouteRecordInfo<'/processings/', '/processings', Record<never, never>, Record<never, never>>,
'/processings/[id]': RouteRecordInfo<'/processings/[id]', '/processings/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
'/runs/[id]': RouteRecordInfo<'/runs/[id]', '/runs/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/private-access.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ async function listSuggestions () {
}
loading.value = true
const orgsResponse = await $fetch(`${$sitePath}/simple-directory/api/organizations`, {
const orgsResponse = await $fetch('/simple-directory/api/organizations', {
params: { q: search.value },
baseURL: $sitePath
})
const orgs = orgsResponse.results.map((r: any) => ({ ...r, type: 'organization' }))
const usersResponse = await $fetch(`${$sitePath}/simple-directory/api/users`, {
const usersResponse = await $fetch('/simple-directory/api/users', {
params: { q: search.value },
baseURL: $sitePath
})
Expand Down

0 comments on commit c2c8363

Please sign in to comment.