mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Also hide contacts header when there are no contacts.
This commit is contained in:
parent
652aededfc
commit
20694185ed
@ -408,9 +408,11 @@ OC.Contacts = OC.Contacts || {
|
||||
console.log('Error loading contacts!');
|
||||
} else {
|
||||
if(response.numcontacts === 0) {
|
||||
self.$contactListHeader.hide();
|
||||
self.$contactList.hide();
|
||||
self.$firstRun.show();
|
||||
} else {
|
||||
self.$contactListHeader.show();
|
||||
self.$contactList.show();
|
||||
self.$firstRun.hide();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user