Removed broken logic @TODO. replace with working logic :(

This commit is contained in:
2024-09-20 14:15:47 +02:00
parent b6b0ccb22d
commit b9bb55cf49
5 changed files with 27 additions and 43 deletions

View File

@ -37,7 +37,6 @@ import { useCookies } from '@vueuse/integrations/useCookies'
const gameStore = useGameStore()
const notifications = useNotificationStore()
const assetStore = useAssetStore()
const username = ref('')
const password = ref('')
@ -52,10 +51,6 @@ onMounted(async () => {
gameStore.setToken(token)
gameStore.initConnection()
}
if (!(await assetStore.fetchAssets())) {
notifications.addNotification({ message: 'Failed to fetch assets, the server may be offline or in maintenance. Please try again later.' })
}
})
async function loginFunc() {