fixed mounted()

This commit is contained in:
booploops 2021-12-30 06:20:40 -08:00
parent aee69e8e34
commit 59ab6799d6

View file

@ -175,11 +175,11 @@
},
props: {},
mounted() {
this.room_dimensions = JSON.parse(JSON.stringify(this.$root.cfg.audio.spatial_properties.room_dimensions))
this.room_materials = JSON.parse(JSON.stringify(this.$root.cfg.audio.spatial_properties.room_materials))
if(typeof this.app.mk.nowPlayingItem != "undefined") {
this.setRoom()
}
this.room_dimensions = JSON.parse(JSON.stringify(this.$root.cfg.audio.spatial_properties.room_dimensions))
this.room_materials = JSON.parse(JSON.stringify(this.$root.cfg.audio.spatial_properties.room_materials))
this.ready = true
},
methods: {