Update Profile, fix unauthenticated private profiles
This commit is contained in:
parent
1a2e41b1e3
commit
9017f7c4e1
4 changed files with 115 additions and 123 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue