ui_migration bugfix(component) add fallback override for img src
This commit is contained in:
parent
8fb445bcbf
commit
5e15a423ee
2 changed files with 3 additions and 5 deletions
|
|
@ -69,10 +69,6 @@ export default {
|
|||
streamEnabled: function () {
|
||||
return this.ready && !this.disableStream;
|
||||
},
|
||||
streamOpen: function () {
|
||||
// Only a single MJPEG connection should be open at a time
|
||||
return !(this.displaySize[0] == 0) && !(this.displaySize[1] == 0);
|
||||
},
|
||||
streamImgUri: function () {
|
||||
// Only request the real stream if it's enabled AND currently visible on screen
|
||||
if (this.isVisible && this.streamEnabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue