forked from FoundKeyGang/FoundKey
[Client] Fix bug
This commit is contained in:
parent
54449484a4
commit
55744da20f
2 changed files with 2 additions and 4 deletions
|
@ -2,8 +2,7 @@
|
||||||
<nav>
|
<nav>
|
||||||
<div>
|
<div>
|
||||||
<span data-is-active={ mode == 'all' } onclick={ setMode.bind(this, 'all') }>すべて<span>{ opts.count }</span></span>
|
<span data-is-active={ mode == 'all' } onclick={ setMode.bind(this, 'all') }>すべて<span>{ opts.count }</span></span>
|
||||||
<!-- ↓ https://github.com/riot/riot/issues/2080-->
|
<span if={ SIGNIN && opts.youKnowCount } data-is-active={ mode == 'iknow' } onclick={ setMode.bind(this, 'iknow') }>知り合い<span>{ opts.youKnowCount }</span></span>
|
||||||
<span if={ SIGNIN && opts.youKnowCount != '' } data-is-active={ mode == 'iknow' } onclick={ setMode.bind(this, 'iknow') }>知り合い<span>{ opts.youKnowCount }</span></span>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="users" if={ !fetching && users.length != 0 }>
|
<div class="users" if={ !fetching && users.length != 0 }>
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<mk-users-list>
|
<mk-users-list>
|
||||||
<nav>
|
<nav>
|
||||||
<span data-is-active={ mode == 'all' } onclick={ setMode.bind(this, 'all') }>%i18n:mobile.tags.mk-users-list.all%<span>{ opts.count }</span></span>
|
<span data-is-active={ mode == 'all' } onclick={ setMode.bind(this, 'all') }>%i18n:mobile.tags.mk-users-list.all%<span>{ opts.count }</span></span>
|
||||||
<!-- ↓ https://github.com/riot/riot/issues/2080-->
|
<span if={ SIGNIN && opts.youKnowCount } data-is-active={ mode == 'iknow' } onclick={ setMode.bind(this, 'iknow') }>%i18n:mobile.tags.mk-users-list.known%<span>{ opts.youKnowCount }</span></span>
|
||||||
<span if={ SIGNIN && opts.youKnowCount != '' } data-is-active={ mode == 'iknow' } onclick={ setMode.bind(this, 'iknow') }>%i18n:mobile.tags.mk-users-list.known%<span>{ opts.youKnowCount }</span></span>
|
|
||||||
</nav>
|
</nav>
|
||||||
<div class="users" if={ !fetching && users.length != 0 }>
|
<div class="users" if={ !fetching && users.length != 0 }>
|
||||||
<mk-user-preview each={ users } user={ this }></mk-user-preview>
|
<mk-user-preview each={ users } user={ this }></mk-user-preview>
|
||||||
|
|
Loading…
Reference in a new issue