enhance(frontend): チャットが開放されていない場合のUIを改善
This commit is contained in:
parent
dec3e86e5e
commit
c37f9d38a3
4 changed files with 13 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
|
|||
},
|
||||
});
|
||||
|
||||
if ($i.policies.canChat) {
|
||||
if ($i.policies.canChat && user.canChat) {
|
||||
menuItems.push({
|
||||
type: 'link',
|
||||
icon: 'ti ti-messages',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue