update register form

This commit is contained in:
Andrew Gundersen 2022-02-20 10:08:12 -06:00
commit df61e7bd9c
8 changed files with 1337 additions and 434 deletions

View file

@ -33,6 +33,7 @@ const App =
}
window.mainApi.on("set-account", (value, reason) => {
console.log(value, reason);
if (reason) alert(reason);
account.value = value;
});

View file

@ -45,7 +45,7 @@ const SmartForm =
logsEl.style.color = "green";
logsEl.innerText = props.modifier;
}, 1000);
}, 2000);
Vue.onMounted(() => {

View file

@ -26,12 +26,12 @@ const Login =
placeholder: 'Password'
},
{
name: 'repassword',
name: 'name',
value: null,
placeholder: 'Re-Password'
placeholder: 'Name'
}]"
:channel="'auth'"
:modifier="'Login or re-enter password to register.'"
:modifier="'Login or enter name to register.'"
/>
</div>`

View file

@ -52,10 +52,6 @@ const Messenger = {
window.mainApi.send("messenger");
});
Vue.onUnmounted(() => {
messages.value = [];
});
const search = (id) => messages.value.find(m => m.id == id);
return { person, messages, onDrop };

File diff suppressed because one or more lines are too long