mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-17 19:42:15 +00:00
* 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:
parent
a45b04b1cf
commit
3a5e93f82e
2 changed files with 8 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue