Refactor
This commit is contained in:
parent
e7c83db9c7
commit
139523b763
1 changed files with 4 additions and 4 deletions
|
@ -122,16 +122,16 @@ export default Vue.extend({
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
|
||||||
this.fetchReplies();
|
|
||||||
},
|
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
note() {
|
note() {
|
||||||
this.fetchReplies();
|
this.fetchReplies();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
mounted() {
|
||||||
|
this.fetchReplies();
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
fetchReplies() {
|
fetchReplies() {
|
||||||
if (this.compact) return;
|
if (this.compact) return;
|
||||||
|
|
Loading…
Reference in a new issue