mirror of
https://github.com/romancm/gamebrary
synced 2024-11-13 23:17:08 +00:00
Remove unnecessary wallpaper load call
This commit is contained in:
parent
8884385ba2
commit
26da8f51bd
1 changed files with 0 additions and 9 deletions
|
@ -105,18 +105,9 @@ export default {
|
|||
this.load();
|
||||
},
|
||||
|
||||
loadWallpapers() {
|
||||
this.$store.dispatch('LOAD_WALLPAPERS')
|
||||
.catch(() => {
|
||||
this.$bvToast.toast('There was an error loading wallpapers', { variant: 'danger' });
|
||||
});
|
||||
},
|
||||
|
||||
async load() {
|
||||
await this.$store.dispatch('LOAD_RELEASES');
|
||||
|
||||
this.loadWallpapers();
|
||||
|
||||
// TODO: move all to actions, consider making live update optional? if it gets expensive $$$
|
||||
db.collection('settings').doc(this.user.uid)
|
||||
.onSnapshot((doc) => {
|
||||
|
|
Loading…
Reference in a new issue