xy há 7 anos atrás
pai
commit
67747b30c8

+ 2 - 2
src/app/graphqlService/component/application/Application.js

@@ -9,9 +9,9 @@ class Application extends Component {
         return (
             <div>
                 {
-                    schemaName === "ecommerce" ?
+                    schemaName === "e-commerce" ?
                         <ShopApp/> :
-                        schemaName === 'bills'?
+                        schemaName === 'account template'?
                             <BillApp /> :
                                 <OrderApp />
 

+ 6 - 1
src/app/graphqlService/component/schema/Schema.jsx

@@ -200,7 +200,12 @@ class Schema extends Component {
                                                     />
                                                     :
                                                     <div className={'schema'}>
-                                                        <span className={'schema-name'}>{this.state.schemaName}</span>
+                                                        <span className={'schema-name'}>{
+                                                            trialcase?
+                                                                <FormattedMessage id={this.state.schemaName}/>
+                                                                :
+                                                                this.state.schemaName
+                                                        }</span>
                                                         {
                                                             userID.indexOf(manageUsers) > -1 ?
                                                                 <Icon style={{marginLeft: 15}}