From e80282e96d1056715886e713c893a10a55393185 Mon Sep 17 00:00:00 2001 From: Ronaldo Macapobre Date: Tue, 25 Feb 2025 23:18:10 +0000 Subject: [PATCH] Include missed files from previous commit. --- web/src/components/courtlist/CourtList.vue | 2 +- web/src/services/LocationService.ts | 2 +- web/src/types/courtlist/index.ts | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/web/src/components/courtlist/CourtList.vue b/web/src/components/courtlist/CourtList.vue index 74969ee5..4422507f 100644 --- a/web/src/components/courtlist/CourtList.vue +++ b/web/src/components/courtlist/CourtList.vue @@ -174,7 +174,7 @@ const getListOfAvailableCourts = () => { errorCode.value = 0; httpService - .get('api/location/court-rooms') + .get('api/location?includeChildRecords=true') .then( (Response) => Response, (err) => { diff --git a/web/src/services/LocationService.ts b/web/src/services/LocationService.ts index 05e7f2e7..966db00f 100644 --- a/web/src/services/LocationService.ts +++ b/web/src/services/LocationService.ts @@ -1,4 +1,4 @@ -import { LocationInfo } from '../types/courtlist'; +import { LocationInfo } from '@/types/courtlist'; import { HttpService } from './HttpService'; export class LocationService { diff --git a/web/src/types/courtlist/index.ts b/web/src/types/courtlist/index.ts index bb630522..09c96387 100644 --- a/web/src/types/courtlist/index.ts +++ b/web/src/types/courtlist/index.ts @@ -5,8 +5,6 @@ export interface LocationInfo { name: string; code: string; locationId: string; - justinLocationName: string; - justinLocationId: string; active?: boolean; courtRooms: CourtRoomsInfo[]; }