chore(client): tweak online users widget
This commit is contained in:
parent
48331bc851
commit
cbf526b043
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="mkw-onlineUsers data-cy-mkw-onlineUsers" :class="{ _panel: !widgetProps.transparent, pad: !widgetProps.transparent }">
|
||||
<I18n v-if="onlineUsersCount" :src="i18n.ts.onlineUsersCount" text-tag="span" class="text">
|
||||
<template #n><b>{{ onlineUsersCount }}</b></template>
|
||||
<template #n><b>{{ number(onlineUsersCount) }}</b></template>
|
||||
</I18n>
|
||||
</div>
|
||||
</template>
|
||||
@ -13,6 +13,7 @@ import { GetFormResultType } from '@/scripts/form';
|
||||
import * as os from '@/os';
|
||||
import { useInterval } from '@/scripts/use-interval';
|
||||
import { i18n } from '@/i18n';
|
||||
import number from '@/filters/number';
|
||||
|
||||
const name = 'onlineUsers';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user