Your Name 3 vuotta sitten
vanhempi
commit
2990f86d78

+ 1
- 1
src/pages/customer/Customer/PublicCustomer/index.jsx Näytä tiedosto

@@ -71,7 +71,7 @@ const PublicCustomer = () => {
71 71
     router.push({
72 72
       pathname: '/customer/customerlist/publicCustomerDetail',
73 73
       query: {
74
-        id: record.personId,
74
+        id: record.customerId,
75 75
       },
76 76
     });
77 77
   }

+ 1
- 1
src/pages/customer/Customer/PublicCustomer/publicCustomerDetail.jsx Näytä tiedosto

@@ -220,7 +220,7 @@ function header(props) {
220 220
           dataSource={records}
221 221
           columns={columns}
222 222
           style={{ marginTop: '15px' }}
223
-          pagination={{ pageSize: 10, total: records.length, onChange }}
223
+          pagination={{ pageSize: 10, total: records?.length, onChange }}
224 224
         />
225 225
       </div>
226 226
     </>