Always show mini stream
This commit is contained in:
parent
599cf0367f
commit
10a4df130c
1 changed files with 0 additions and 17 deletions
|
|
@ -7,20 +7,9 @@
|
||||||
<img
|
<img
|
||||||
ref="click-frame"
|
ref="click-frame"
|
||||||
class="uk-align-center uk-margin-remove-bottom"
|
class="uk-align-center uk-margin-remove-bottom"
|
||||||
:hidden="!streamEnabled"
|
|
||||||
:src="streamImgUri"
|
:src="streamImgUri"
|
||||||
alt="Stream"
|
alt="Stream"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div v-if="!streamEnabled" class="uk-height-1-1">
|
|
||||||
<div v-if="$store.state.waiting" class="uk-position-center">
|
|
||||||
<div uk-spinner="ratio: 4.5"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div v-else class="uk-position-center position-relative text-center">
|
|
||||||
No active connection
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -34,12 +23,6 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
streamEnabled: function() {
|
|
||||||
return (
|
|
||||||
this.$store.getters.ready &&
|
|
||||||
!this.$store.state.globalSettings.disableStream
|
|
||||||
);
|
|
||||||
},
|
|
||||||
streamImgUri: function() {
|
streamImgUri: function() {
|
||||||
return `${this.$store.getters.baseUri}/api/v2/streams/mjpeg`;
|
return `${this.$store.getters.baseUri}/api/v2/streams/mjpeg`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue