progress on setup and account view

This commit is contained in:
2023-09-06 15:54:33 +02:00
parent 4afeb7a146
commit b91337f831
6 changed files with 36 additions and 6 deletions

View File

@@ -11,7 +11,16 @@
{{ accountData.email }}
</td>
</tr>
<tr>
<td>
Name
</td>
<td>
{{ accountData.first_name }} {{ accountData.name }}
</td>
</tr>
</table>
<button>Resend confirmation email</button>
<notifications ref="notification" location="topright" size="bigger"></notifications>
<popups ref="popups" size="big" @data="data => { savePwd( data ) }"></popups>
</div>
@@ -44,7 +53,7 @@
...mapStores( useUserStore )
},
created () {
// TODO: Also get all orders of user (using join functions)
// TODO: FUTURE Also get all orders of user (using join functions)
fetch( localStorage.getItem( 'url' ) + '/user/details' ).then( res => {
if ( res.status === 200 ) {
res.json().then( data => {

View File

@@ -169,6 +169,7 @@
}
},
proceed () {
// TODO: Perform checks
this.backendStore.addVisitedSetupPages( 'complete', true );
this.$router.push( 'complete' );
}