ali 3 лет назад
Родитель
Сommit
d45a70b3bf
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      src/components/Widgets/Other/ClassroomCarousel/ClassroomCarousel.vue

+ 3 - 1
src/components/Widgets/Other/ClassroomCarousel/ClassroomCarousel.vue

@@ -143,7 +143,9 @@ export default {
     },
     },
     getClassrooms () {
     getClassrooms () {
       this.classrooms.loading = true
       this.classrooms.loading = true
-      return APIGateway.classroom.index()
+      return APIGateway.classroom.index({
+        unit__category__type: 'EVENT'
+      })
     }
     }
   }
   }
 }
 }