We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584f8ed commit ca45285Copy full SHA for ca45285
src/api/ExtractSeats.ts
@@ -14,7 +14,7 @@ export const getSeatsApi = async (): Promise<Seat[]> => {
14
let response;
15
16
if (config.mockedData) {
17
- response = organizationMockedResponse_seats;
+ response = config.scope.type === "organization" ? organizationMockedResponse_seats: enterpriseMockedResponse_seats;
18
seatsData = seatsData.concat(response.seats.map((item: any) => new Seat(item)));
19
}
20
else {
0 commit comments