Fix camera crash when structure selected
All checks were successful
Build Dev PWA / Build-PWA (push) Successful in 34s

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-07-28 20:19:46 -07:00
parent 1a703b0100
commit 7b800d6b39

View File

@@ -361,6 +361,7 @@
if (mode == "camera") {
this.videoAvailable = await this.openCamera(this.$refs.image_container)
if (this.videoAvailable) {
this.selectedChip = -1
this.imageLoaded = false
this.imageView.src = null
this.$refs.image_cvs.style['background-image'] = 'none'