Fix bug
This commit is contained in:
parent
75cd580c3a
commit
0adcb646fe
|
@ -1,14 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mk-stream-indicator">
|
<div class="mk-stream-indicator">
|
||||||
<p v-if=" stream.state == 'initializing' ">
|
<p v-if="stream.state == 'initializing'">
|
||||||
%fa:spinner .pulse%
|
%fa:spinner .pulse%
|
||||||
<span>%i18n:@connecting%<mk-ellipsis/></span>
|
<span>%i18n:@connecting%<mk-ellipsis/></span>
|
||||||
</p>
|
</p>
|
||||||
<p v-if=" stream.state == 'reconnecting' ">
|
<p v-if="stream.state == 'reconnecting'">
|
||||||
%fa:spinner .pulse%
|
%fa:spinner .pulse%
|
||||||
<span>%i18n:@reconnecting%<mk-ellipsis/></span>
|
<span>%i18n:@reconnecting%<mk-ellipsis/></span>
|
||||||
</p>
|
</p>
|
||||||
<p v-if=" stream.state == 'connected' ">
|
<p v-if="stream.state == 'connected'">
|
||||||
%fa:check%
|
%fa:check%
|
||||||
<span>%i18n:@connected%</span>
|
<span>%i18n:@connected%</span>
|
||||||
</p>
|
</p>
|
||||||
|
@ -22,7 +22,7 @@ import * as anime from 'animejs';
|
||||||
export default Vue.extend({
|
export default Vue.extend({
|
||||||
computed: {
|
computed: {
|
||||||
stream() {
|
stream() {
|
||||||
return (this as any).os.stream.useSharedConnection('main');
|
return (this as any).os.stream;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
Loading…
Reference in New Issue