From 389a71b05a6426dece69b4d41cb6cf5964e856ac Mon Sep 17 00:00:00 2001 From: GotPPay Date: Tue, 16 Jan 2018 13:38:05 +0100 Subject: [PATCH] UI fix --- web/src/components/IntentDetails.js | 8 ++++---- web/src/components/IntentList.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/src/components/IntentDetails.js b/web/src/components/IntentDetails.js index 5af5471..e5c6066 100644 --- a/web/src/components/IntentDetails.js +++ b/web/src/components/IntentDetails.js @@ -28,13 +28,13 @@ class IntentDetails extends Component { id="intent name" lineDirection="center" placeholder="Intent name" - label="Intent name" + label="Question name" className="md-cell md-cell--bottom IntentDetailsInputBoxes" onChange={this.handleIntentNameEdit} maxLength={INTENT_NAME_MAX_LENGTH} value={this.state.intent.intentName} /> -
Questions
+
Question variants
{ this.state.intent.questions.map((question, index)=>{ return ( @@ -68,8 +68,8 @@ class IntentDetails extends Component { }



- - + + diff --git a/web/src/components/IntentList.js b/web/src/components/IntentList.js index 96a86d1..00596fc 100644 --- a/web/src/components/IntentList.js +++ b/web/src/components/IntentList.js @@ -30,7 +30,7 @@ class IntentList extends Component {
-

Intents

+

Questions

{ this.state.intents.map((intent,index)=>{ @@ -45,7 +45,7 @@ class IntentList extends Component {

+ disabled={this.props.waiting}>Add question ); }