authscape 1.0.98 → 1.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -1
- package/package.json +1 -1
- package/src/components/Datatable.js +2 -0
- package/src/services/apiService.js +1 -1
package/index.js
CHANGED
|
@@ -234,6 +234,8 @@ var Datatable = /*#__PURE__*/function (_Component) {
|
|
|
234
234
|
paginationPerPage: this.props.pageLength ? this.props.pageLength : 10,
|
|
235
235
|
paginationServer: true,
|
|
236
236
|
pagination: true,
|
|
237
|
+
expandableRows: this.props.expandableRows,
|
|
238
|
+
expandableRowsComponent: this.props.expandableRowsComponent,
|
|
237
239
|
paginationTotalRows: this.state.totalRows // onChangeRowsPerPage={this.handlePerRowsChange}
|
|
238
240
|
,
|
|
239
241
|
onChangePage: this.handlePageChange,
|
|
@@ -731,7 +733,7 @@ var apiService = function apiService() {
|
|
|
731
733
|
case 5:
|
|
732
734
|
defaultOptions = _context8.sent;
|
|
733
735
|
_context8.next = 8;
|
|
734
|
-
return instance.get('/UserManagement
|
|
736
|
+
return instance.get('/UserManagement', defaultOptions);
|
|
735
737
|
|
|
736
738
|
case 8:
|
|
737
739
|
response = _context8.sent;
|
package/package.json
CHANGED
|
@@ -108,6 +108,8 @@ export class Datatable extends Component {
|
|
|
108
108
|
paginationPerPage={this.props.pageLength ? this.props.pageLength : 10}
|
|
109
109
|
paginationServer
|
|
110
110
|
pagination
|
|
111
|
+
expandableRows={this.props.expandableRows}
|
|
112
|
+
expandableRowsComponent={this.props.expandableRowsComponent}
|
|
111
113
|
paginationTotalRows={this.state.totalRows}
|
|
112
114
|
// onChangeRowsPerPage={this.handlePerRowsChange}
|
|
113
115
|
onChangePage={this.handlePageChange}
|
|
@@ -209,7 +209,7 @@ export const apiService = (ctx = null) => {
|
|
|
209
209
|
if (accessToken)
|
|
210
210
|
{
|
|
211
211
|
let defaultOptions = await setupDefaultOptions(null);
|
|
212
|
-
const response = await instance.get('/UserManagement
|
|
212
|
+
const response = await instance.get('/UserManagement', defaultOptions);
|
|
213
213
|
if (response != null && response.status == 200)
|
|
214
214
|
{
|
|
215
215
|
return response.data;
|