major refactor of web store into vue setup style declaration; reactivity debugging; order view has known refresh issues
This commit is contained in:
@@ -110,9 +110,19 @@ function onWithdraw(addr) {
|
||||
withdrawShow.value = true
|
||||
}
|
||||
|
||||
|
||||
function checkVault() {
|
||||
console.log('checkVault', props.num, s.account, s.vault)
|
||||
if(props.num===0 && s.account && !s.vault)
|
||||
ensureVault()
|
||||
}
|
||||
|
||||
// todo remove automatic vault creation for Alpha 2
|
||||
if(props.num===0 && !s.vault)
|
||||
ensureVault()
|
||||
s.$subscribe((mutation, state)=>{
|
||||
console.log('test')
|
||||
checkVault()
|
||||
})
|
||||
checkVault()
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user