refactor: ♻️ move nsfw functionality into root component
This commit is contained in:
parent
ae5d4d2633
commit
6823eeb92f
3 changed files with 18 additions and 22 deletions
|
@ -23,9 +23,9 @@
|
|||
export default {
|
||||
methods: {
|
||||
confirmNsfw(input) {
|
||||
this.$parent.nsfw = input;
|
||||
this.$parent.isConfirmedHorny = input;
|
||||
this.$parent.isWarn = false;
|
||||
this.$root.nsfw = input;
|
||||
this.$root.isConfirmedHorny = input;
|
||||
this.$root.isWarn = false;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue