Another shot at fixing characters not loading after login
This commit is contained in:
parent
13a4e7f90a
commit
bee03c5ed5
@ -59,10 +59,11 @@ import { ref } from 'vue'
|
||||
import Modal from '@/components/utilities/Modal.vue'
|
||||
import {type Character as CharacterT} from '@/types'
|
||||
|
||||
|
||||
const characters = ref([])
|
||||
const socket = useSocketStore()
|
||||
|
||||
// Fetch characters
|
||||
const characters = ref([])
|
||||
socket.getConnection.on('character:list', (data: any) => {
|
||||
characters.value = data
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user