diff --git a/js/devel/settings.js b/js/devel/settings.js index 441b52a..af98201 100644 --- a/js/devel/settings.js +++ b/js/devel/settings.js @@ -76,6 +76,9 @@ var SmsSettings = new Vue({ ContactList.reset(); Conversation.clear(); }); + }, + isContactListEmpty: function () { + return ContactList.contacts.length === 0; } } }); \ No newline at end of file diff --git a/templates/main.php b/templates/main.php index d5802d6..999d3cb 100644 --- a/templates/main.php +++ b/templates/main.php @@ -72,7 +72,7 @@ use \OCA\OcSms\Lib\CountryCodes; -
+