1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-23 20:24:21 +02:00
This commit is contained in:
syuilo
2018-02-21 02:53:34 +09:00
parent b2a6257f93
commit a1e57841e7
22 changed files with 304 additions and 372 deletions

View File

@@ -22,7 +22,6 @@
<script lang="ts">
import Vue from 'vue';
import updateBanner from '../../../scripts/update-banner';
export default Vue.extend({
props: ['user'],
@@ -53,7 +52,7 @@ export default Vue.extend({
onBannerClick() {
if (!(this as any).os.isSignedIn || (this as any).os.i.id != this.user.id) return;
updateBanner((this as any).os.i, i => {
(this as any).apis.updateBanner((this as any).os.i, i => {
this.user.banner_url = i.banner_url;
});
}