kopia lustrzana https://github.com/nextcloud/social
Merge pull request #56 from nextcloud-gmbh/bugfix/49/composer-fixes
Fix small composer bugspull/57/head
commit
57862c6f55
|
|
@ -61,7 +61,7 @@
|
||||||
<input :value="t('social', 'Post')" :disabled="post.length < 1" class="submit primary"
|
<input :value="t('social', 'Post')" :disabled="post.length < 1" class="submit primary"
|
||||||
type="submit" title="" data-original-title="Post">
|
type="submit" title="" data-original-title="Post">
|
||||||
<div>
|
<div>
|
||||||
<button :class="currentVisibilityIconClass" @click="togglePopoverMenu" />
|
<button :class="currentVisibilityIconClass" @click.prevent="togglePopoverMenu" />
|
||||||
<div :class="{open: menuOpened}" class="popovermenu">
|
<div :class="{open: menuOpened}" class="popovermenu">
|
||||||
<PopoverMenu :menu="visibilityPopover" />
|
<PopoverMenu :menu="visibilityPopover" />
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -308,6 +308,9 @@ export default {
|
||||||
+ '<a href="' + item.original.url + '" target="_blank"><img src="' + item.original.avatar + '" />@' + item.original.value + '</a></span>'
|
+ '<a href="' + item.original.url + '" target="_blank"><img src="' + item.original.avatar + '" />@' + item.original.value + '</a></span>'
|
||||||
},
|
},
|
||||||
values: (text, cb) => {
|
values: (text, cb) => {
|
||||||
|
if (text.length < 1) {
|
||||||
|
cb([])
|
||||||
|
}
|
||||||
this.remoteSearch(text).then((result) => {
|
this.remoteSearch(text).then((result) => {
|
||||||
let users = []
|
let users = []
|
||||||
if (result.data.result.exact) {
|
if (result.data.result.exact) {
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue