mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-26 04:26:14 -05:00
[web] Refactor management of remotes and outputs
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
<component :is="Component" />
|
||||
</router-view>
|
||||
<modal-dialog-remote-pairing
|
||||
:show="pairingActive"
|
||||
@close="pairingActive = false"
|
||||
:show="remotesStore.active"
|
||||
@close="remotesStore.active = false"
|
||||
/>
|
||||
<modal-dialog-update
|
||||
:show="uiStore.showUpdateDialog"
|
||||
@@ -67,7 +67,6 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
pairingActive: false,
|
||||
timerId: 0
|
||||
}
|
||||
},
|
||||
@@ -254,7 +253,6 @@ export default {
|
||||
updatePairing() {
|
||||
webapi.pairing().then((data) => {
|
||||
this.remotesStore.$state = data
|
||||
this.pairingActive = data.active
|
||||
})
|
||||
},
|
||||
updatePlayerStatus() {
|
||||
|
||||
Reference in New Issue
Block a user