Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
BramMeir committed May 13, 2024
1 parent 016f16a commit 129ecc2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions frontend/src/components/projects/ExtraChecksUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,14 @@ onMounted(async () => {
<!-- List with the extra checks -->
<DataView :value="extraChecksList" data-key="id" v-if="extraChecksList.length > 0">
<template #list="slotProps">
<div
v-for="(item, index) in slotProps.items"
:key="index"
>
<div v-for="(item, index) in slotProps.items" :key="index">
<div class="flex align-items-center justify-content-between">
<p style="max-width: 300px">{{ item.name }}</p>
<Button icon="pi pi-times" class="p-button-danger p-button-sm" @click="extraChecksList.splice(index, 1)" />
<Button
icon="pi pi-times"
class="p-button-danger p-button-sm"
@click="extraChecksList.splice(index, 1)"
/>
</div>
</div>
</template>
Expand Down Expand Up @@ -278,7 +279,7 @@ onMounted(async () => {
<!-- Visibility of the log files for students -->
<div class="grid">
<div class="field-checkbox col-12">
<InputSwitch id="showLog" v-model="form.showLog" style="min-width: 50px;"/>
<InputSwitch id="showLog" v-model="form.showLog" style="min-width: 50px" />
<label for="showLog">{{ t('views.projects.extraChecks.showLog') }}</label>
</div>
</div>
Expand Down

0 comments on commit 129ecc2

Please sign in to comment.