This commit is contained in:
2024-05-28 21:54:05 +02:00
parent 9ef697d812
commit da728a1fc6
11 changed files with 242 additions and 85 deletions

View File

@ -17,11 +17,11 @@ const screen:Ref<string> = ref('login');
const socket = useSocketStore();
socket.$subscribe((mutation, state) => {
if (!state.isAuthenticated) {
if (!state.connection) {
screen.value = 'login';
}
if (state.isAuthenticated){
if (state.connection){
screen.value = 'characters';
if (state.character) {