Skip to content

Commit

Permalink
Update actual build
Browse files Browse the repository at this point in the history
  • Loading branch information
Кусак Александр authored and blake-r committed Apr 25, 2023
1 parent 33e348f commit 2959895
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 60 deletions.
5 changes: 4 additions & 1 deletion lib/components/ExportComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ exports.mimeTypes = {
const getExportedFileName = (extension) => `export-${(0, format_1.default)(Date.now(), 'yyyy-MM-dd_HH-mm')}.${extension}`;
exports.getExportedFileName = getExportedFileName;
const ExportComponent = ({ resource }) => {
var _a;
const filter = {};
const query = new URLSearchParams(location.search);
const prevPage = JSON.parse((_a = localStorage.getItem("prevPage")) !== null && _a !== void 0 ? _a : "{}");
const prevFilter = new URLSearchParams(prevPage.search);
let query = prevFilter !== null && prevFilter !== void 0 ? prevFilter : new URLSearchParams(location.search);
for (const entry of query.entries()) {
const [key, value] = entry;
if (key.match('filters.')) {
Expand Down
84 changes: 26 additions & 58 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
},
"private": false,
"repository": "[email protected]:MenahemOwlytics/adminjs-import-export.git",
"repository": "[email protected]:SoftwareBrothers/adminjs-import-export.git",
"license": "SEE LICENSE IN LICENSE",
"scripts": {
"release": "semantic-release",
Expand Down

0 comments on commit 2959895

Please sign in to comment.