Skip to content

Commit

Permalink
ForceUpdate sur changement singleThumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-73 authored Apr 1, 2021
1 parent d7d5930 commit 58da072
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/VuePictureSwipe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@
angle: 0
};
},
watch: {
singleThumbnail: function () {
this.$forceUpdate();
},
},
mounted() {
let that = this;
let initPhotoSwipeFromDOM = function (gallerySelector) {
Expand Down

0 comments on commit 58da072

Please sign in to comment.