Skip to content
Snippets Groups Projects
Commit a3e370e9 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

add initial fetching back in a more streamlined way

parent 62d0bc47
No related branches found
No related tags found
2 merge requests!12172.1.0 into master,!1164Fix: notifications fetcher double fetching on every tick
Pipeline #27927 passed
......@@ -27,6 +27,11 @@ const Notifications = {
seenToDisplayCount: DEFAULT_SEEN_TO_DISPLAY_COUNT
}
},
created () {
const store = this.$store
const credentials = store.state.users.currentUser.credentials
notificationsFetcher.fetchAndUpdate({ store: this.$store, credentials })
},
computed: {
mainClass () {
return this.minimalMode ? '' : 'panel panel-default'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment