From 23fc0e42f5f9bc5c6058783bb9482600b53a4616 Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 7 Oct 2016 17:43:53 -0700 Subject: [minor] ui - remove unused code --- ui/app/components/wizard/provider_select_stage.js | 2 +- ui/app/components/wizard/register_stage.js | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'ui') diff --git a/ui/app/components/wizard/provider_select_stage.js b/ui/app/components/wizard/provider_select_stage.js index e33310b..2a342d9 100644 --- a/ui/app/components/wizard/provider_select_stage.js +++ b/ui/app/components/wizard/provider_select_stage.js @@ -146,7 +146,7 @@ export default class ProviderSelectStage extends React.Component {

{this.state.provider.domain}

{this.state.provider.description}

Enrollment Policy: {this.state.provider.enrollment_policy}

-

Services: {services}

+

Services: {services.join(', ')}

Languages: {languages.join(', ')}

) diff --git a/ui/app/components/wizard/register_stage.js b/ui/app/components/wizard/register_stage.js index 9afa958..36fe21b 100644 --- a/ui/app/components/wizard/register_stage.js +++ b/ui/app/components/wizard/register_stage.js @@ -52,19 +52,6 @@ export default class RegisterStage extends React.Component { } render() { - let info = null - if (this.props.provider) { - info = ( -
-

{this.props.provider.name}

-

{this.props.provider.domain}

-

{this.props.provider.description}

-

Enrollment Policy: {this.props.provider.enrollment_policy}

-

Services: {this.props.provider.services}

-

Languages: {this.props.provider.languages.join(', ')}

-
- ) - } let buttons = (
-- cgit v1.2.3