mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
progress on setup and account view
This commit is contained in:
@@ -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 => {
|
||||
|
||||
@@ -169,6 +169,7 @@
|
||||
}
|
||||
},
|
||||
proceed () {
|
||||
// TODO: Perform checks
|
||||
this.backendStore.addVisitedSetupPages( 'complete', true );
|
||||
this.$router.push( 'complete' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user