Add settings page with adjustable jump forward/backward settings

This commit is contained in:
advplyr
2022-07-01 20:05:11 -05:00
parent a41e26e4c6
commit 3c1120ea48
13 changed files with 162 additions and 66 deletions
+6 -2
View File
@@ -12,7 +12,7 @@
<!-- <p class="absolute bottom-16 left-0 right-0 px-2 text-center text-error"><strong>Important!</strong> This app requires that you are running <u>your own server</u> and does not provide any content.</p> -->
<connection-server-connect-form />
<connection-server-connect-form v-if="deviceData" :device-data="deviceData" />
</div>
<div class="flex items-center justify-center pt-4 fixed bottom-4 left-0 right-0">
@@ -32,7 +32,9 @@
export default {
layout: 'blank',
data() {
return {}
return {
deviceData: null
}
},
computed: {
networkConnected() {
@@ -41,6 +43,8 @@ export default {
},
methods: {
async init() {
this.deviceData = await this.$db.getDeviceData()
this.$store.commit('setDeviceData', this.deviceData)
await this.$store.dispatch('setupNetworkListener')
}
},