mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-16 09:08:04 -04:00
[web] Fix formatting
This commit is contained in:
parent
aa9ca1b4ae
commit
296dbe7a78
@ -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)
|
||||||
|
@ -19,10 +19,7 @@
|
|||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
<control-button
|
<control-button
|
||||||
:button="{
|
:button="{ handler: showDetails, icon: 'dots-horizontal' }"
|
||||||
handler: showDetails,
|
|
||||||
icon: 'dots-horizontal'
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user