mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Only show the reset button if there are messages
This commit is contained in:
@@ -76,6 +76,9 @@ var SmsSettings = new Vue({
|
||||
ContactList.reset();
|
||||
Conversation.clear();
|
||||
});
|
||||
},
|
||||
isContactListEmpty: function () {
|
||||
return ContactList.contacts.length === 0;
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user