fix(frontend): サーバードキュメントとMisskey関連リソースとの間にdividerが入らないことがある問題を修正

This commit is contained in:
kakkokari-gtyih 2024-11-23 15:21:51 +09:00
parent 04b221409c
commit 9305985bc9
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ export function openInstanceMenu(ev: MouseEvent) {
});
}
if (!instance.impressumUrl && !instance.tosUrl && !instance.privacyPolicyUrl) {
if (instance.impressumUrl != null || instance.tosUrl != null || instance.privacyPolicyUrl != null) {
menuItems.push({ type: 'divider' });
}