mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 16:06:15 +00:00
contactlist: Drop a useless div to make conditional on ul
This commit is contained in:
parent
eb383cbee9
commit
81de9d6906
@ -50,8 +50,7 @@ use \OCA\OcSms\Lib\CountryCodes;
|
||||
<div class="contact-list-no-contact" v-if="orderedContacts.length === 0 && !isContactsLoading">
|
||||
<?php p($l->t('No contact found.'));?>
|
||||
</div>
|
||||
<div v-if="orderedContacts.length > 0 && !isContactsLoading">
|
||||
<ul class="contact-list">
|
||||
<ul class="contact-list" v-if="orderedContacts.length > 0 && !isContactsLoading">
|
||||
<li v-for="contact in orderedContacts" peer-label="{{ contact.label }}" v-on:click="loadConversation(contact);" href="#">
|
||||
<img class="ocsms-plavatar" :src="contact.avatar" v-if="contact.avatar !== undefined" />
|
||||
<div class="ocsms-plavatar" v-if="contact.avatar === undefined" v-bind:style="{'backgroundColor': getContactColor(contact.uid) }">{{ contact.label | firstCharacter }}</div>
|
||||
@ -59,7 +58,6 @@ use \OCA\OcSms\Lib\CountryCodes;
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="app-settings">
|
||||
<div id="app-settings-header">
|
||||
<button name="app settings" class="settings-button" data-apps-slide-toggle="#app-settings-content">
|
||||
|
Loading…
x
Reference in New Issue
Block a user