Skip to content

Commit b2e4311

Browse files
authored
fix: microlocations sorted by position in side-panel (#8436)
* fix: microlocations sorted by position in side-panel * format
1 parent 7d9360c commit b2e4311

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/public/stream/side-panel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default class PublicStreamSidePanel extends Component<Args> {
7777

7878
if (this.args.event.isSchedulePublished) {
7979
try {
80-
const rooms = await this.loader.load(`/events/${this.args.event.identifier}/microlocations?include=video-stream&fields[microlocation]=id,video_stream&fields[video-stream]=id,name&sort=video-stream.name`);
80+
const rooms = await this.loader.load(`/events/${this.args.event.identifier}/microlocations?include=video-stream&fields[microlocation]=id,video_stream,position&fields[video-stream]=id,name&sort=position`);
8181
rooms.included?.map((stream: any) => ({
8282
id : stream.id,
8383
name : stream.attributes.name,
@@ -95,7 +95,7 @@ export default class PublicStreamSidePanel extends Component<Args> {
9595
this.token = token;
9696
this.success = success;
9797
}
98-
98+
9999
this.loading = false;
100100
}
101101

0 commit comments

Comments
 (0)