diff --git a/src/shared/components/app/navbar.tsx b/src/shared/components/app/navbar.tsx index 52f9aa38..57555410 100644 --- a/src/shared/components/app/navbar.tsx +++ b/src/shared/components/app/navbar.tsx @@ -241,7 +241,7 @@ export class Navbar extends Component { ), })} > - + {this.state.unreadApplicationCount > 0 && ( {numToSI(this.state.unreadApplicationCount)} @@ -417,7 +417,7 @@ export class Navbar extends Component { ), })} > - + {this.state.unreadApplicationCount > 0 && ( {numToSI(this.state.unreadApplicationCount)} diff --git a/src/shared/components/common/registration-application.tsx b/src/shared/components/common/registration-application.tsx index 3106260c..8b3951c9 100644 --- a/src/shared/components/common/registration-application.tsx +++ b/src/shared/components/common/registration-application.tsx @@ -17,6 +17,7 @@ interface RegistrationApplicationProps { interface RegistrationApplicationState { denyReason?: string; + denyExpanded: boolean; } export class RegistrationApplication extends Component< @@ -25,6 +26,7 @@ export class RegistrationApplication extends Component< > { private emptyState: RegistrationApplicationState = { denyReason: this.props.application.registration_application.deny_reason, + denyExpanded: false, }; constructor(props: any, context: any) { @@ -63,23 +65,34 @@ export class RegistrationApplication extends Component< # +
+ {i18n.t("deny_reason")}:{" "} +
+
)} )} -
- -
- + {this.state.denyExpanded && ( +
+ +
+ +
-
+ )}