diff --git a/html/src/classes/uiComponents.js b/html/src/classes/uiComponents.js
index c6a6d6ef..c14fcd7f 100644
--- a/html/src/classes/uiComponents.js
+++ b/html/src/classes/uiComponents.js
@@ -357,6 +357,7 @@ export default class extends baseClass {
'{{ $t("dialog.user.info.instance_hard_closed") }}' +
'{{ $t("dialog.user.info.instance_closed") }}' +
'{{ $t("dialog.user.info.instance_queue") }} {{ queueSize }}' +
+ '{{ $t("dialog.user.info.instance_age_gated") }}' +
'',
props: {
location: String,
@@ -396,6 +397,7 @@ export default class extends baseClass {
this.userList = [];
this.gameServerVersion = '';
this.canCloseInstance = false;
+ this.isAgeGated = false;
if (
!this.location ||
!this.instance ||
@@ -437,6 +439,7 @@ export default class extends baseClass {
'group-instance-moderate'
);
}
+ this.isAgeGated = this.instance.ageGate === true;
},
showUserDialog(userId) {
API.$emit('SHOW_USER_DIALOG', userId);
diff --git a/html/src/localization/en/en.json b/html/src/localization/en/en.json
index c92c7bd4..94d2cdec 100644
--- a/html/src/localization/en/en.json
+++ b/html/src/localization/en/en.json
@@ -663,7 +663,8 @@
"instance_full": "full",
"instance_closed": "closed",
"instance_hard_closed": "hard closed",
- "close_instance": "Close Instance"
+ "close_instance": "Close Instance",
+ "instance_age_gated": "age gated"
},
"groups": {
"header": "Groups",