Skip to content

Commit

Permalink
style: lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jan 20, 2024
1 parent 48d9964 commit 28c11a6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions resources/pages/home/components/select_menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ const group = inject<boolean>('group', false)
const model = defineModel<string | string[]>({ required: true })
const display = computed(() => {
if (Array.isArray(model.value) && model.length > 0) {
return `${model.length} selected`
if (Array.isArray(model.value) && model.value.length > 0) {
return `${model.value.length} selected`
}
if (model) {
if (model.value) {
const option = props.options.find((option) => option.value === model.value)
if (option) return option.label
}
Expand Down
6 changes: 3 additions & 3 deletions resources/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"moduleResolution": "Bundler",
"paths": {
"@/*": ["./*"],
"~/*": ["../*"]
"~/*": ["../*"],
},
"resolveJsonModule": true,
"types": ["vite/client"],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true
"skipLibCheck": true,
},
"include": ["env.d.ts", "./**/*.ts", "./**/*.vue"]
"include": ["env.d.ts", "./**/*.ts", "./**/*.vue"],
}
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"#validators/*": ["./app/validators/*.js"],
"#start/*": ["./start/*.js"],
"#config/*": ["./config/*.js"],
"#types/*": ["./types/*.js"]
"#types/*": ["./types/*.js"],
},
"resolveJsonModule": true,
"outDir": "./build"
"outDir": "./build",
},
"include": ["./**/*"],
"exclude": ["./resources/**/*"]
"exclude": ["./resources/**/*"],
}

0 comments on commit 28c11a6

Please sign in to comment.