mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-30 09:53:02 +00:00
[Client] Fix bug
This commit is contained in:
parent
d4f6bf8a7b
commit
d21546071e
1 changed files with 2 additions and 2 deletions
|
@ -48,14 +48,14 @@
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
|
import isPromise from '../../common/scripts/is-promise';
|
||||||
|
|
||||||
this.mixin('i');
|
this.mixin('i');
|
||||||
this.mixin('api');
|
this.mixin('api');
|
||||||
this.mixin('stream');
|
this.mixin('stream');
|
||||||
|
|
||||||
const stream = this.stream.event;
|
const stream = this.stream.event;
|
||||||
|
|
||||||
const isPromise = require('../../common/scripts/is-promise');
|
|
||||||
|
|
||||||
this.user = null;
|
this.user = null;
|
||||||
this.userPromise = isPromise(this.opts.user)
|
this.userPromise = isPromise(this.opts.user)
|
||||||
? this.opts.user
|
? this.opts.user
|
||||||
|
|
Loading…
Reference in a new issue