affiliate-front-shared 1.3.6 → 1.3.7
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7174,7 +7174,7 @@ const $r = /* @__PURE__ */ Hi(Fi), Vi = ({ setDateFilter: n, setShowRange: e, se
|
|
|
7174
7174
|
`, Oa = ({ tableData: n, checked: e, fileName: t }) => {
|
|
7175
7175
|
const r = async (i) => {
|
|
7176
7176
|
try {
|
|
7177
|
-
i === "xlsx" ? Wi(n, e, t) : _i(n, e, t);
|
|
7177
|
+
i === "xlsx" ? Wi(n, e, t + ".xlsx") : _i(n, e, t + ".csv");
|
|
7178
7178
|
} catch (a) {
|
|
7179
7179
|
console.error("Export failed:", a);
|
|
7180
7180
|
}
|