Fix bug
This commit is contained in:
parent
2e6905c74c
commit
b20b975935
48 changed files with 146 additions and 158 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<footer>
|
||||
<a class="quote" v-if="!quote" @click="onQuote">%i18n:@quote%</a>
|
||||
<button class="ui cancel" @click="cancel">%i18n:@cancel%</button>
|
||||
<button class="ui primary ok" @click="ok" :disabled="wait">{{ wait ? '%i18n:!@reposting%' : '%i18n:!@renote%' }}</button>
|
||||
<button class="ui primary ok" @click="ok" :disabled="wait">{{ wait ? '%i18n:@reposting%' : '%i18n:@renote%' }}</button>
|
||||
</footer>
|
||||
</template>
|
||||
<template v-if="quote">
|
||||
|
|
@ -32,9 +32,9 @@ export default Vue.extend({
|
|||
renoteId: this.note.id
|
||||
}).then(data => {
|
||||
this.$emit('posted');
|
||||
(this as any).apis.notify('%i18n:!@success%');
|
||||
(this as any).apis.notify('%i18n:@success%');
|
||||
}).catch(err => {
|
||||
(this as any).apis.notify('%i18n:!@failure%');
|
||||
(this as any).apis.notify('%i18n:@failure%');
|
||||
}).then(() => {
|
||||
this.wait = false;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue