Skip to content
Snippets Groups Projects
Commit e29b5c23 authored by syuilo's avatar syuilo
Browse files

fix(client): Fix #6698

parent 925868dc
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment