diff --git a/lemmy-translations b/lemmy-translations index cda65b80..22637606 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit cda65b80a58e24d8d397a835f67b193255e7b806 +Subproject commit 22637606f4a4455458e64cefe9f5ec33dccb6c52 diff --git a/src/shared/components/home/instances.tsx b/src/shared/components/home/instances.tsx index ba397886..0d6748a7 100644 --- a/src/shared/components/home/instances.tsx +++ b/src/shared/components/home/instances.tsx @@ -94,25 +94,24 @@ export class Instances extends Component { {this.itemList(instances.linked)} -
- {instances.allowed && instances.allowed.length > 0 && ( - <> -

- {I18NextService.i18n.t("allowed_instances")} -

- {this.itemList(instances.allowed)} - - )} - - {instances.blocked && instances.blocked.length > 0 && ( - <> -

- {I18NextService.i18n.t("blocked_instances")} -

- {this.itemList(instances.blocked, false)} - - )} -
+ +
+ {instances.allowed && instances.allowed.length > 0 && ( +
+

+ {I18NextService.i18n.t("allowed_instances")} +

+ {this.itemList(instances.allowed)} +
+ )} + {instances.blocked && instances.blocked.length > 0 && ( +
+

+ {I18NextService.i18n.t("blocked_instances")} +

+ {this.itemList(instances.blocked)} +
+ )}
) : ( @@ -134,7 +133,7 @@ export class Instances extends Component { ); } - itemList(items: Instance[], link = true) { + itemList(items: Instance[]) { return items.length > 0 ? (
@@ -149,15 +148,9 @@ export class Instances extends Component { {items.map(i => (
- {link ? ( - - {" "} - {i.domain}{" "} - - ) : ( - {i.domain} - )} - ; + + {i.domain} + {i.software} {i.version}