Merge pull request from nextcloud-gmbh/bugfix/49/composer-fixes

Fix small composer bugs
pull/57/head
Maxence Lange 2018-11-26 12:34:07 -01:00 zatwierdzone przez GitHub
commit 57862c6f55
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 1 usunięć
src/components

Wyświetl plik

@ -61,7 +61,7 @@
<input :value="t('social', 'Post')" :disabled="post.length < 1" class="submit primary"
type="submit" title="" data-original-title="Post">
<div>
<button :class="currentVisibilityIconClass" @click="togglePopoverMenu" />
<button :class="currentVisibilityIconClass" @click.prevent="togglePopoverMenu" />
<div :class="{open: menuOpened}" class="popovermenu">
<PopoverMenu :menu="visibilityPopover" />
</div>
@ -308,6 +308,9 @@ export default {
+ '<a href="' + item.original.url + '" target="_blank"><img src="' + item.original.avatar + '" />@' + item.original.value + '</a></span>'
},
values: (text, cb) => {
if (text.length < 1) {
cb([])
}
this.remoteSearch(text).then((result) => {
let users = []
if (result.data.result.exact) {