diff options
author | Marco Ambrosini <marcoambrosini@pm.me> | 2021-06-14 18:03:51 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-17 17:48:26 +0300 |
commit | 2f2b6b9679efd3c7f262499a31f9058b2a7f03c5 (patch) | |
tree | c8b5097ab8031d2c36aec3a844c5234209364c13 /src/components/NewMessageForm | |
parent | 29b2dd55ac8d7d593d0a1fb0b4bf09e01137ee42 (diff) |
Lint fix
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r-- | src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue index 737ef132d..e7ba6f5e9 100644 --- a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue +++ b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue @@ -29,7 +29,7 @@ :tab-select="true" :allow-spaces="false" @at="handleAtEvent"> - <template v-slot:item="scope"> + <template #item="scope"> <Avatar v-if="isMentionToAll(scope.item.id)" :size="44" :icon-class="'icon-group-forced-white'" @@ -57,7 +57,7 @@ </em> </span> </template> - <template v-slot:embeddedItem="scope"> + <template #embeddedItem="scope"> <!-- The root element itself is ignored, only its contents are taken into account. --> <span> @@ -207,7 +207,7 @@ export default { required: true, }, }, - data: function() { + data() { return { text: '', autoCompleteMentionCandidates: [], @@ -376,8 +376,8 @@ export default { getGuestAvatarStyle() { return { - 'width': '44px', - 'height': '44px', + width: '44px', + height: '44px', 'line-height': '44px', 'background-color': '#b9b9b9', 'text-align': 'center', |