-
-
-
- New Products
+
+
+
+
+
+
+ New Products
-
-
-
+
+
+
+
-
-
-
-
-
-
-
- Voucher & Gift Card
+
+
+
+
+
+
+ Voucher & Gift Card
-
- {data.map((item, index) => {
- return ( this.setState({isOpened: true, data: item})} key={index} span={6}>
-
- )
- })}
-
+
+ {
+ ( this.vouchersStore.list.length > 0) ?
+ this.vouchersStore.list.map((item, index) => {
+ return ( this.setState({isOpened: true, data: item})} key={index} span={6}>
+
+ )
+ })
+ : (
+
+ )
+ }
+
- {/* this.setState({isOpened: false})}*/}
- {/*onCancel={() => this.setState({isOpened: false})}*/}
- {/*/>*/}
+ this.setState({isOpened: false})}
+ onCancel={() => this.setState({isOpened: false})}
+ />
+
-
+
- {/*
- xs=12 sm=6
-
-
- xs=12 sm=6
-
-
- xs=3 sm=3
-
-
- xs=3 sm=3
-
-
- xs=3 sm=3
-
-
- xs=3 sm=3
- */}
-
+
+ this.setModalTopup(false)} onCancel={() => this.setModalTopup(false)} isVisible={this.state.modalTopup} />
);
}
diff --git a/src/common/pages/Dashboard/style.scss b/src/common/pages/Dashboard/style.scss
index 6732ead..c117212 100644
--- a/src/common/pages/Dashboard/style.scss
+++ b/src/common/pages/Dashboard/style.scss
@@ -91,7 +91,7 @@
.value {
- font-size: 1.8rem;
+ font-size: 1rem;
letter-spacing: 1px;
line-height: 1.2;
display: inline-block;
diff --git a/src/common/pages/Vouchers/index.js b/src/common/pages/Vouchers/index.js
index e242667..bc73652 100644
--- a/src/common/pages/Vouchers/index.js
+++ b/src/common/pages/Vouchers/index.js
@@ -28,12 +28,6 @@ export default class VouchersComponent extends React.Component {
additional_data: {
information:''
},
- // option: [
- // {
- // value: '',
- // cost: ''
- // },
- // ],
sku: [
{
id:'',
@@ -49,7 +43,6 @@ export default class VouchersComponent extends React.Component {
componentDidMount() {
this.vouchersStore.getList();
- console.log('res list component',this.vouchersStore.getList())
}
render() {
@@ -74,19 +67,6 @@ export default class VouchersComponent extends React.Component {
)
}
-
-
- {/* {
- (data.length > 0) ?
- data.map((item, index) => {
- return (
this.setState({isOpened: true, data: item})} key={index} span={6}>
-
- )
- })
- : (
-
- )
- } */}