Browse Source

Fix movie list component mixin not using update movies action

dev
David Ludwig 4 years ago
parent
commit
43989d86b7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      services/webui/src/app/components/mixins/MovieListComponentMixin.ts

+ 1
- 1
services/webui/src/app/components/mixins/MovieListComponentMixin.ts View File

@ -10,7 +10,7 @@ export default defineComponent({
},
unmounted() {
if (this.movies.length > 0) {
this.$store.commit(Mutation.FreeMovies, this.movies);
this.$store.dispatch(Action.UpdateMovies, { newValue: [], oldValue: this.movies });
}
},
props: {


Loading…
Cancel
Save