Refactor
This commit is contained in:
@ -63,7 +63,7 @@ export default Vue.extend({
|
||||
},
|
||||
|
||||
onBannerClick() {
|
||||
if (!(this as any).os.isSignedIn || (this as any).os.i.id != this.user.id) return;
|
||||
if (!this.$store.getters.isSignedIn || this.$store.state.i.id != this.user.id) return;
|
||||
|
||||
(this as any).apis.updateBanner().then(i => {
|
||||
this.user.bannerUrl = i.bannerUrl;
|
||||
|
Reference in New Issue
Block a user