Skip to content

Commit

Permalink
less frequent updates on pictos and collections
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratatinator97 committed Aug 27, 2024
1 parent 4725bdd commit cb68e59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions components/navigation/pictalk-navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@
<div class="media-content noPadding centered">
<p class="title is-6 notifTitle">
<a :href="'mailto:' + notification.username" class="subtitle is-6 mailto">{{
notification.username
.split("@")[0]
.replace(".", " ")
}}</a>
notification.username
.split("@")[0]
.replace(".", " ")
}}</a>
{{ notificationText(notification) }}
</p>
<figure class="image is-64x64">
<img @click="
notificationGoToCollectionOrReturn(notification)
" :src="notification.image" alt="Placeholder image" />
notificationGoToCollectionOrReturn(notification)
" :src="notification.image" alt="Placeholder image" />
</figure>
<p class="title is-6 notifTitle greyback">
<!--<b-icon
Expand Down Expand Up @@ -211,7 +211,7 @@ export default {
return [];
}
}
}, 60000);
}, 180000);
},
async fetch() {
Expand Down
2 changes: 1 addition & 1 deletion static/background-fetch2.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async function checkAuthenticated(self) {
fetchFromList();
setTimeout(function () {
checkAuthenticated(self);
}, 60000);
}, 180000);
} else {
console.log("Not authenticated")
authenticated = false;
Expand Down

0 comments on commit cb68e59

Please sign in to comment.