mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 01:26:44 -06:00
disabled unknown OnlineIndicator
This commit is contained in:
parent
9062497dc2
commit
f5632915f0
1 changed files with 1 additions and 6 deletions
|
@ -5,12 +5,12 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
|
||||
<template>
|
||||
<div
|
||||
v-if="user.onlineStatus !== 'unknown'"
|
||||
v-tooltip="text"
|
||||
:class="[$style.root, {
|
||||
[$style.status_online]: user.onlineStatus === 'online',
|
||||
[$style.status_active]: user.onlineStatus === 'active',
|
||||
[$style.status_offline]: user.onlineStatus === 'offline',
|
||||
[$style.status_unknown]: user.onlineStatus === 'unknown',
|
||||
}]"
|
||||
></div>
|
||||
</template>
|
||||
|
@ -29,7 +29,6 @@ const text = computed(() => {
|
|||
case 'online': return i18n.ts.online;
|
||||
case 'active': return i18n.ts.active;
|
||||
case 'offline': return i18n.ts.offline;
|
||||
case 'unknown': return i18n.ts.unknown;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
@ -50,9 +49,5 @@ const text = computed(() => {
|
|||
&.status_offline {
|
||||
background: #ea5353;
|
||||
}
|
||||
|
||||
&.status_unknown {
|
||||
background: #888;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue