vue3: filterの移行 (#6590)

* bytes

* notePage

* number

* acct, userName, userPage

* Move methods property

* fix

* Delete unnecessary file
This commit is contained in:
fuyu
2020-07-25 23:20:14 +09:00
committed by GitHub
parent 66cc7a28ba
commit 098d960f10
28 changed files with 183 additions and 103 deletions

View File

@@ -6,7 +6,7 @@
<span class="name">
<mk-user-name :user="user" :key="user.id"/>
</span>
<span class="username">@{{ user | acct }}</span>
<span class="username">@{{ acct(user) }}</span>
</li>
<li @click="chooseUser()" @keydown="onKeydown" tabindex="-1" class="choose">{{ $t('selectUser') }}</li>
</ol>
@@ -34,6 +34,7 @@ import contains from '../scripts/contains';
import { twemojiSvgBase } from '../../misc/twemoji-base';
import { getStaticImageUrl } from '../scripts/get-static-image-url';
import MkUserSelect from './user-select.vue';
import { acct } from '../filters/user';
type EmojiDef = {
emoji: string;
@@ -381,7 +382,9 @@ export default defineComponent({
vm.$once('closed', () => {
this.textarea.focus();
});
}
},
acct
}
});
</script>