@layerfi/components 0.1.59 → 0.1.61
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/esm/index.js +4 -2
- package/dist/esm/index.js.map +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/.idea/codeStyles/Project.xml +0 -61
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/layer-react.iml +0 -9
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
package/dist/esm/index.js
CHANGED
|
@@ -1279,7 +1279,7 @@ var useLinkedAccounts = () => {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
}, [syncTimestamps]);
|
|
1281
1281
|
return {
|
|
1282
|
-
data: USE_MOCK_RESPONSE_DATA ? mockResponseData.data : responseData?.data.external_accounts,
|
|
1282
|
+
data: USE_MOCK_RESPONSE_DATA ? mockResponseData.data : responseData?.data.external_accounts ?? [],
|
|
1283
1283
|
isLoading,
|
|
1284
1284
|
loadingStatus,
|
|
1285
1285
|
isValidating,
|
|
@@ -16162,6 +16162,7 @@ import classNames65 from "classnames";
|
|
|
16162
16162
|
var BookkeepingOverview = ({
|
|
16163
16163
|
title,
|
|
16164
16164
|
// deprecated
|
|
16165
|
+
showTitle = true,
|
|
16165
16166
|
stringOverrides
|
|
16166
16167
|
}) => {
|
|
16167
16168
|
const [pnlToggle, setPnlToggle] = useState54("expenses");
|
|
@@ -16172,7 +16173,8 @@ var BookkeepingOverview = ({
|
|
|
16172
16173
|
viewClassName: "Layer__bookkeeping-overview--view",
|
|
16173
16174
|
title: stringOverrides?.title || title || "Bookkeeping overview",
|
|
16174
16175
|
withSidebar: width > 1100,
|
|
16175
|
-
sidebar: /* @__PURE__ */ React187.createElement(TasksComponent, { stringOverrides: stringOverrides?.tasks })
|
|
16176
|
+
sidebar: /* @__PURE__ */ React187.createElement(TasksComponent, { stringOverrides: stringOverrides?.tasks }),
|
|
16177
|
+
showHeader: showTitle
|
|
16176
16178
|
},
|
|
16177
16179
|
width <= 1100 && /* @__PURE__ */ React187.createElement(
|
|
16178
16180
|
TasksComponent,
|