Fixed leden toevoegen
All checks were successful
Build and Deploy / Deploy (push) Successful in 2m16s
All checks were successful
Build and Deploy / Deploy (push) Successful in 2m16s
This commit is contained in:
parent
99f62900e5
commit
0bad662565
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="showInstallGuide !== null && showInstallGuide" class="bg-neutral-1100 dark:bg-neutral-900 h-screen flex flex-col px-5 text-center text-black dark:text-gray-200">
|
<div v-if="showInstallGuide !== null && showInstallGuide && host != 'localhost'" class="bg-neutral-1100 dark:bg-neutral-900 h-screen flex flex-col px-5 text-center text-black dark:text-gray-200">
|
||||||
<h1 class="font-bold text-3xl text-center mb-10 mt-20 text-primary">Reddingsbrigade Waddinxveen</h1>
|
<h1 class="font-bold text-3xl text-center mb-10 mt-20 text-primary">Reddingsbrigade Waddinxveen</h1>
|
||||||
<p class="mb-10">Om gebruik te maken van de WRB App moet je deze installeren</p>
|
<p class="mb-10">Om gebruik te maken van de WRB App moet je deze installeren</p>
|
||||||
<h2 class="font-bold">Op een iPhone:</h2>
|
<h2 class="font-bold">Op een iPhone:</h2>
|
||||||
@ -39,7 +39,10 @@ import { Device } from '@capacitor/device';
|
|||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
const showInstallGuide = ref(null)
|
const showInstallGuide = ref(null)
|
||||||
|
|
||||||
|
const host = ref(null)
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
host.value = window.location.hostname
|
||||||
userStore.init()
|
userStore.init()
|
||||||
|
|
||||||
Device.getInfo().then(info => {
|
Device.getInfo().then(info => {
|
||||||
|
@ -176,10 +176,12 @@ const csvToJson = (csv) => {
|
|||||||
|
|
||||||
if (groups[2] === 'Week') groups[2] = 'Vrijdag'
|
if (groups[2] === 'Week') groups[2] = 'Vrijdag'
|
||||||
|
|
||||||
console.log(result[i]);
|
let inwedstrijdteam
|
||||||
console.log(usersStore.ledenlijst.filter(x => x.relatiecode === result[i].Relatiecode));
|
if (usersStore.ledenlijst.filter(x => x.relatiecode === result[i].Relatiecode)[0]) {
|
||||||
|
inwedstrijdteam = usersStore.ledenlijst.filter(x => x.relatiecode === result[i].Relatiecode)[0].wedstrijdteam;
|
||||||
const inwedstrijdteam = usersStore.ledenlijst.filter(x => x.relatiecode === result[i].Relatiecode)[0].wedstrijdteam;
|
} else {
|
||||||
|
inwedstrijdteam = false;
|
||||||
|
}
|
||||||
|
|
||||||
const wedstrijdteam = inwedstrijdteam ? true : false
|
const wedstrijdteam = inwedstrijdteam ? true : false
|
||||||
|
|
||||||
|
6
package-lock.json
generated
Normal file
6
package-lock.json
generated
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "wrbapp",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user