Skip to content

Commit e168a42

Browse files
committed
Fix Syntax
1 parent 67e1679 commit e168a42

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

src/components/Eventyay/EventyayEventCheckIn.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ loadingStore.contentLoaded()
99
<div
1010
class="-mt-16 grid h-screen w-full grid-cols-1 place-items-center items-center justify-center align-middle"
1111
>
12-
<QRCamera :qr-type="'eventyaycheckin'" :scan-type="'Check-In'" />
12+
<QRCamera qr-type="eventyaycheckin" scan-type="Check-In" />
1313
</div>
1414
</template>

src/components/Eventyay/EventyayEventSelection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ function leadscan() {
2121
>
2222
<div class="flex h-1/4 w-1/2 flex-col items-center justify-around">
2323
<StandardButton
24-
:text="'Lead Scanning'"
24+
text="Lead Scanning"
2525
class="btn-primary h-14 w-full justify-center"
2626
@click="leadscan()"
2727
/>
2828
<p class="text-xl">OR</p>
2929
<StandardButton
30-
:text="'Check-In'"
30+
text="Check-In"
3131
class="btn-primary h-14 w-full justify-center"
3232
@click="checkIn()"
3333
/>

src/components/Eventyay/EventyayEvents.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ const submitForm = () => {
5454
</div>
5555
<div>
5656
<StandardButton
57-
:type="'submit'"
58-
:text="'Select Event'"
57+
type="submit"
58+
text="Select Event"
5959
class="btn-primary mt-6 w-full justify-center"
6060
/>
6161
</div>
6262
</form>
6363
<div v-if="!events.length && !error">
6464
No events available
6565
<StandardButton
66-
:text="'Refresh'"
66+
text="Refresh"
6767
class="btn-primary mt-6 w-1/2 justify-center"
6868
@click="fetchEvents(url.value, apiToken.value, organiser.value)"
6969
/>

src/components/Eventyay/EventyayLeedLogin.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ loadingStore.contentLoaded()
6767

6868
<div>
6969
<StandardButton
70-
:type="'submit'"
71-
:text="'Login'"
70+
type="submit"
71+
text="Login"
7272
class="btn-primary mt-6 w-full justify-center"
7373
/>
7474
</div>

src/components/Eventyay/LeadScanning.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ loadingStore.contentLoaded()
99
<div
1010
class="-mt-16 grid h-screen w-full grid-cols-1 place-items-center items-center justify-center align-middle"
1111
>
12-
<QRCamera :qr-type="'eventyaylead'" :scan-type="'Lead-Scan'" />
12+
<QRCamera qr-type="eventyaylead" scan-type="Lead-Scan" />
1313
</div>
1414
</template>

src/components/LoginForm.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ onMounted(() => {
129129

130130
<div>
131131
<StandardButton
132-
:type="'submit'"
133-
:text="'Login'"
132+
type="submit"
133+
text="Login"
134134
class="btn-primary mt-6 w-full justify-center"
135135
/>
136136
</div>
@@ -148,9 +148,9 @@ onMounted(() => {
148148
>
149149
</p>
150150
<StandardButton
151-
:type="'button'"
151+
type="button"
152152
text="Register-Device"
153-
:disabled="false"
153+
disabled="false"
154154
class="btn-primary mt-6 w-full justify-center"
155155
@click="registerDevice"
156156
>

src/components/Registration/Device/Device.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function registerDevice() {
2525
<div
2626
class="-mt-16 grid h-screen w-full grid-cols-1 place-items-center items-center justify-center align-middle"
2727
>
28-
<QRCamera :qr-type="'device'" :scan-type="'Device Registration'" />
28+
<QRCamera qr-type="device" scan-type="Device Registration" />
2929
<div v-if="showError">
3030
<p class="text-sm text-danger">Oops! something went wrong</p>
3131
</div>

0 commit comments

Comments
 (0)