Refactor client (#3178)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
This commit is contained in:
syuilo
2018-11-09 16:00:29 +09:00
committed by GitHub
parent 5d882dc3df
commit 3f79c9ae49
52 changed files with 328 additions and 421 deletions

View File

@@ -34,9 +34,9 @@ export default Vue.extend({
renoteId: this.note.id
}).then(data => {
this.$emit('posted');
this.$root.apis.notify(this.$t('success'));
this.$notify(this.$t('success'));
}).catch(err => {
this.$root.apis.notify(this.$t('failure'));
this.$notify(this.$t('failure'));
}).then(() => {
this.wait = false;
});