mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-12 17:34:03 +02:00
[Client] Fix bug
This commit is contained in:
@@ -81,7 +81,7 @@ export default Vue.extend({
|
||||
onBannerClick() {
|
||||
if (!this.$store.getters.isSignedIn || this.$store.state.i.id != this.user.id) return;
|
||||
|
||||
(this as any).apis.updateBanner().then(i => {
|
||||
this.$root.apis.updateBanner().then(i => {
|
||||
this.user.bannerUrl = i.bannerUrl;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ export default Vue.extend({
|
||||
listId: list.id,
|
||||
userId: this.user.id
|
||||
});
|
||||
(this as any).apis.dialog({
|
||||
this.$root.apis.dialog({
|
||||
title: 'Done!',
|
||||
text: this.$t('list-pushed').replace('{user}', this.user.name).replace('{list}', list.title)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user