[web] Fix formatting

This commit is contained in:
Alain Nussbaumer 2025-03-05 19:27:06 +01:00
parent aa9ca1b4ae
commit 296dbe7a78
2 changed files with 2 additions and 12 deletions

View File

@ -32,20 +32,14 @@ export default {
name: { required: true, type: String }, name: { required: true, type: String },
placeholder: { default: '', type: String } placeholder: { default: '', type: String }
}, },
setup() { setup() {
return { return {
settingsStore: useSettingsStore() settingsStore: useSettingsStore()
} }
}, },
data() { data() {
return { return { timerDelay: 2000, timerId: -1 }
timerDelay: 2000,
timerId: -1
}
}, },
computed: { computed: {
isError() { isError() {
return this.timerId === -2 return this.timerId === -2
@ -57,7 +51,6 @@ export default {
return this.settingsStore.setting(this.category, this.name) return this.settingsStore.setting(this.category, this.name)
} }
}, },
methods: { methods: {
update(event, sanitise) { update(event, sanitise) {
const value = sanitise?.(event.target) const value = sanitise?.(event.target)

View File

@ -19,10 +19,7 @@
}" }"
/> />
<control-button <control-button
:button="{ :button="{ handler: showDetails, icon: 'dots-horizontal' }"
handler: showDetails,
icon: 'dots-horizontal'
}"
/> />
</div> </div>
</template> </template>