Skip to content

Commit 43daf97

Browse files
committed
fix failing tests
1 parent d16f0bd commit 43daf97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kolibri/plugins/coach/assets/src/views/common/ReportsControls.vue

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@
133133
return;
134134
}
135135
this.fetchUserSyncStatus({ member_of: this.$route.params.classId }).then(data => {
136+
if (!data || !Array.isArray(data)) {
137+
return;
138+
}
136139
this.userSet = new Set(data.map(item => item.user));
137140
setTimeout(() => {
138141
this.pollClassListSyncStatuses();

0 commit comments

Comments
 (0)