Update Post and Profile components
This commit is contained in:
parent
284c1ea2c9
commit
6c2bf54bde
2 changed files with 17 additions and 0 deletions
|
@ -490,6 +490,16 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
beforeMount() {
|
||||
let u = new URLSearchParams(window.location.search);
|
||||
if(u.has('ui') && u.get('ui') == 'moment' && this.profileLayout != 'moment') {
|
||||
this.profileLayout = 'moment';
|
||||
}
|
||||
if(u.has('ui') && u.get('ui') == 'metro' && this.profileLayout != 'metro') {
|
||||
this.profileLayout = 'metro';
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.fetchRelationships();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue