From 507527c17f1a0521fd062880fc090ca9a63f33b6 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sun, 20 Jun 2021 21:16:34 -0500 Subject: [PATCH] Add emits to movie list --- services/webui/src/app/components/MovieList.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/webui/src/app/components/MovieList.vue b/services/webui/src/app/components/MovieList.vue index 7a4d7d8..62dbc7e 100644 --- a/services/webui/src/app/components/MovieList.vue +++ b/services/webui/src/app/components/MovieList.vue @@ -8,11 +8,17 @@ import { defineComponent } from "vue"; import MovieListItem from "./MovieListItem.vue"; import MovieListComponentMixin from "./mixins/MovieListComponentMixin"; +import { IMovie } from "@autoplex-api/request"; export default defineComponent({ components: { MovieListItem }, + emits: { + onClickMovie(movie: IMovie, index: number) { + return true; + } + }, methods: { onModalClosed() { let parentPath = this.$route.path.split('/').slice(0, -1).join('/');