show remote server on auto complete
This commit is contained in:
parent
11abf2487c
commit
862e28f006
|
@ -219,7 +219,11 @@
|
|||
if (item.value.shareType === OC.Share.SHARE_TYPE_GROUP) {
|
||||
text = text + ' ('+t('core', 'group')+')';
|
||||
} else if (item.value.shareType === OC.Share.SHARE_TYPE_REMOTE) {
|
||||
text = text + ' ('+t('core', 'remote')+')';
|
||||
if (item.value.server) {
|
||||
text = text + ' (' + t('core', 'at') + ' ' + item.value.server + ')';
|
||||
} else {
|
||||
text = text + ' (' + t('core', 'remote') + ')';
|
||||
}
|
||||
}
|
||||
insert.text(text);
|
||||
if(item.value.shareType === OC.Share.SHARE_TYPE_GROUP) {
|
||||
|
|
Loading…
Reference in New Issue