Skip to content
Snippets Groups Projects
Commit 773d1043 authored by Aya Morisawa's avatar Aya Morisawa
Browse files

Fix #1868

parent b8e948b0
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,8 @@ export default Vue.extend({
add() {
(this as any).apis.input({
title: '%i18n:@username%',
}).then(async username => {
}).then(async (username: string) => {
if (username.startsWith('@')) username = username.slice(1);
const user = await (this as any).api('users/show', {
username
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment