Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/App.vue b/src/App.vue
index 02cbee9..9846e14 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -245,7 +245,8 @@ export default {
/**
* Update the title to show * if there are new notifications
- * @param {Object} notifications The list of notifications
+ *
+ * @param {object} notifications The list of notifications
*/
_updateDocTitleOnNewNotifications(notifications) {
if (notifications.length > this._oldcount) {
@@ -271,8 +272,8 @@ export default {
},
/**
- * Performs the AJAX request to retrieve the notifications
- */
+ * Performs the AJAX request to retrieve the notifications
+ */
async _fetch() {
const response = await getNotificationsData(this.tabId, this.lastETag, !this.backgroundFetching)
@@ -339,7 +340,8 @@ export default {
/**
* The app was disabled or has no notifiers, so we can stop polling
* And hide the UI as well
- * @param {Boolean} temporary If false, the notification bell will be hidden
+ *
+ * @param {boolean} temporary If false, the notification bell will be hidden
*/
_shutDownNotifications(temporary) {
console.debug('Shutting down notifications ' + ((temporary) ? 'temporary' : 'bye'))