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">
|
<script setup lang="ts">
|
||||||
const props = withDefaults(
|
withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
text?: string
|
text?: string
|
||||||
srOnly?: boolean
|
srOnly?: boolean
|
||||||
|
|
|
@ -29,6 +29,7 @@ const validationListeners = {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<!-- eslint-disable-next-line vuejs-accessibility/form-control-has-label -->
|
||||||
<input
|
<input
|
||||||
:id="name"
|
:id="name"
|
||||||
:value="value"
|
:value="value"
|
||||||
|
|
|
@ -7,7 +7,7 @@ const props = defineProps<{
|
||||||
inputLabel: string
|
inputLabel: string
|
||||||
buttonLabel: string
|
buttonLabel: string
|
||||||
type: HTMLInputElement['type']
|
type: HTMLInputElement['type']
|
||||||
placeholder?: string,
|
placeholder?: string
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
const group: Ref<HTMLElement | null> = ref(null)
|
const group: Ref<HTMLElement | null> = ref(null)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const props = withDefaults(
|
withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
name: string
|
name: string
|
||||||
size?: string
|
size?: string
|
||||||
|
|
|
@ -6,7 +6,7 @@ const head = useLocaleHead({
|
||||||
addSeoAttributes: true,
|
addSeoAttributes: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
const props = defineProps<{
|
defineProps<{
|
||||||
error: H3Error
|
error: H3Error
|
||||||
}>()
|
}>()
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -99,6 +99,7 @@ async function logout() {
|
||||||
|
|
||||||
<!-- FIXME temp -->
|
<!-- FIXME temp -->
|
||||||
<div class="ml-auto mr-4">
|
<div class="ml-auto mr-4">
|
||||||
|
<!-- eslint-disable-next-line vuejs-accessibility/label-has-for -->
|
||||||
<label class="mr-4">theme:</label>
|
<label class="mr-4">theme:</label>
|
||||||
<select
|
<select
|
||||||
v-model="colorMode.preference"
|
v-model="colorMode.preference"
|
||||||
|
|
Loading…
Reference in a new issue