* Fix for issue 11525: Updated profile and profilePage components to render profile tab content by default in profile page * Modified profilePage.vue to set default value for startingPage prop
This commit is contained in:
committed by
Matteo Pagliazzi
parent
a45b04b1cf
commit
3a5e93f82e
@@ -789,7 +789,7 @@ export default {
|
||||
this.user = user;
|
||||
},
|
||||
selectPage (page) {
|
||||
this.selectedPage = page;
|
||||
this.selectedPage = page || 'profile';
|
||||
window.history.replaceState(null, null, '');
|
||||
},
|
||||
sendMessage () {
|
||||
|
||||
@@ -24,6 +24,12 @@ export default {
|
||||
components: {
|
||||
profile,
|
||||
},
|
||||
props: ['userId', 'startingPage'],
|
||||
props: {
|
||||
userId: String,
|
||||
startingPage: {
|
||||
type: String,
|
||||
default: 'profile',
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user