mirror of
https://github.com/YunoHost/yunohost-portal.git
synced 2024-09-03 20:06:23 +02:00
lint: misc fixes
This commit is contained in:
parent
95e75fe117
commit
1741544897
6 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
const props = withDefaults(
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
text?: string
|
||||
srOnly?: boolean
|
||||
|
|
|
@ -29,6 +29,7 @@ const validationListeners = {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<!-- eslint-disable-next-line vuejs-accessibility/form-control-has-label -->
|
||||
<input
|
||||
:id="name"
|
||||
:value="value"
|
||||
|
|
|
@ -7,7 +7,7 @@ const props = defineProps<{
|
|||
inputLabel: string
|
||||
buttonLabel: string
|
||||
type: HTMLInputElement['type']
|
||||
placeholder?: string,
|
||||
placeholder?: string
|
||||
}>()
|
||||
|
||||
const group: Ref<HTMLElement | null> = ref(null)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
const props = withDefaults(
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
name: string
|
||||
size?: string
|
||||
|
|
|
@ -6,7 +6,7 @@ const head = useLocaleHead({
|
|||
addSeoAttributes: true,
|
||||
})
|
||||
|
||||
const props = defineProps<{
|
||||
defineProps<{
|
||||
error: H3Error
|
||||
}>()
|
||||
</script>
|
||||
|
|
|
@ -99,6 +99,7 @@ async function logout() {
|
|||
|
||||
<!-- FIXME temp -->
|
||||
<div class="ml-auto mr-4">
|
||||
<!-- eslint-disable-next-line vuejs-accessibility/label-has-for -->
|
||||
<label class="mr-4">theme:</label>
|
||||
<select
|
||||
v-model="colorMode.preference"
|
||||
|
|
Loading…
Reference in a new issue