1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 04:56:12 +02:00
This commit is contained in:
syuilo
2021-12-25 13:38:53 +09:00
parent 8e7744a695
commit 601bc3e3cc
17 changed files with 7 additions and 161 deletions

View File

@@ -205,7 +205,6 @@ import MkFolder from '@/components/ui/folder.vue';
import MkRemoteCaution from '@/components/remote-caution.vue';
import MkTab from '@/components/tab.vue';
import MkInfo from '@/components/ui/info.vue';
import Progress from '@/scripts/loading';
import * as Acct from 'misskey-js/built/acct';
import { getScrollPosition } from '@/scripts/scroll';
import { getUserMenu } from '@/scripts/get-user-menu';
@@ -328,13 +327,10 @@ export default defineComponent({
fetch() {
if (this.acct == null) return;
this.user = null;
Progress.start();
os.api('users/show', Acct.parse(this.acct)).then(user => {
this.user = user;
}).catch(e => {
this.error = e;
}).finally(() => {
Progress.done();
});
},