1
0
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:
Loic Blot
2018-09-08 00:54:13 +02:00
committed by Loïc Blot
parent f034644459
commit e2999f37ad
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -76,6 +76,9 @@ var SmsSettings = new Vue({
ContactList.reset();
Conversation.clear();
});
},
isContactListEmpty: function () {
return ContactList.contacts.length === 0;
}
}
});