Update Profile, fix unauthenticated private profiles

This commit is contained in:
Daniel Supernault 2021-07-07 00:40:01 -06:00
parent 1a2e41b1e3
commit 9017f7c4e1
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
4 changed files with 115 additions and 123 deletions

View file

@ -703,6 +703,11 @@
this.fetchProfile();
let u = new URLSearchParams(window.location.search);
let forceMetro = localStorage.getItem('pf_metro_ui.exp.forceMetro') == 'true';
if(u.has('ui') && u.get('ui') == 'moment' && this.layout != 'moment') {
this.layout = 'moment';
}
if(forceMetro == true || u.has('ui') && u.get('ui') == 'metro' && this.layout != 'metro') {
this.layout = 'metro';
}
@ -739,10 +744,6 @@
}
});
}
if(window.outerWidth < 576) {
$('nav.navbar').hide();
this.isMobile = true;
}
},
updated() {