Skip to content

Commit

Permalink
Update actual build
Browse files Browse the repository at this point in the history
  • Loading branch information
Кусак Александр authored and Кусак Александр committed Apr 24, 2023
1 parent ea53701 commit fc901fc
Show file tree
Hide file tree
Showing 3 changed files with 8,739 additions and 8,768 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.

Loading

0 comments on commit fc901fc

Please sign in to comment.