[Client] Fix bug

This commit is contained in:
syuilo
2018-11-09 08:26:32 +09:00
parent 60ef3e3563
commit fccbecf159
44 changed files with 83 additions and 81 deletions

View File

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