[Client] Fix bug
This commit is contained in:
parent
d4f6bf8a7b
commit
d21546071e
@ -48,14 +48,14 @@
|
||||
|
||||
</style>
|
||||
<script>
|
||||
import isPromise from '../../common/scripts/is-promise';
|
||||
|
||||
this.mixin('i');
|
||||
this.mixin('api');
|
||||
this.mixin('stream');
|
||||
|
||||
const stream = this.stream.event;
|
||||
|
||||
const isPromise = require('../../common/scripts/is-promise');
|
||||
|
||||
this.user = null;
|
||||
this.userPromise = isPromise(this.opts.user)
|
||||
? this.opts.user
|
||||
|
Loading…
Reference in New Issue
Block a user