From e29b5c23268861432d551918949cca59fd5c79ff Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 11 Sep 2020 21:50:44 +0900 Subject: [PATCH] fix(client): Fix #6698 --- src/client/components/media-image.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/client/components/media-image.vue b/src/client/components/media-image.vue index f6ed45daec..7c4ac324cb 100644 --- a/src/client/components/media-image.vue +++ b/src/client/components/media-image.vue @@ -64,7 +64,13 @@ export default Vue.extend({ } }, created() { - this.hide = this.image.isSensitive && !this.$store.state.device.alwaysShowNsfw; + // Plugin:register_note_view_interruptor を使って書き換えられる可能性があるためwatchする + this.$watch('image', () => { + this.hide = this.image.isSensitive && !this.$store.state.device.alwaysShowNsfw; + }, { + deep: true, + immediate: true, + }); }, methods: { onClick() {