diff --git a/package-lock.json b/package-lock.json index c06ede64..b3fb2fd8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@fluentui/react-migration-v8-v9": "^9.6.20", - "@talxis/client-libraries": "^1.2606.2", + "@talxis/client-libraries": "^1.2606.3", "@talxis/client-metadata": "^0.0.4", "color": "^4.2.3", "dayjs": "^1.11.10", @@ -2704,9 +2704,9 @@ } }, "node_modules/@talxis/client-libraries": { - "version": "1.2606.2", - "resolved": "https://registry.npmjs.org/@talxis/client-libraries/-/client-libraries-1.2606.2.tgz", - "integrity": "sha512-xCOowIrjhA+vZkPm2dPWHGUAgqMYvmsXNg2p9t3lKaBBsFMDXb0mkeLfUvqdQW/ZyrtvqX8NVPZzQ6wC/0/KOA==", + "version": "1.2606.3", + "resolved": "https://registry.npmjs.org/@talxis/client-libraries/-/client-libraries-1.2606.3.tgz", + "integrity": "sha512-cSgtW9pFeR572HEW2Egf9kJyGUlI20COgqmenG/YYUxulTQBzD/msZIewfv3ihYcE82BpZQW9sX6qjEDk8TJCA==", "license": "MIT", "dependencies": { "@azure/msal-browser": "^2.27.0", diff --git a/package.json b/package.json index 48a95f51..5e0f64e2 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "@dnd-kit/sortable": "^10.0.0", "@dnd-kit/utilities": "^3.2.2", "@fluentui/react-migration-v8-v9": "^9.6.20", - "@talxis/client-libraries": "^1.2606.2", + "@talxis/client-libraries": "^1.2606.3", "@talxis/client-metadata": "^0.0.4", "color": "^4.2.3", "dayjs": "^1.11.10", diff --git a/src/components/Duration/Duration.tsx b/src/components/Duration/Duration.tsx index ed1e1c08..d9703b99 100644 --- a/src/components/Duration/Duration.tsx +++ b/src/components/Duration/Duration.tsx @@ -18,6 +18,7 @@ export const Duration = (props: IDuration) => { const numberFormatting = context.userSettings.numberFormattingInfo; const onOverrideComponentProps = props.onOverrideComponentProps ?? ((props) => props); const hoursPerDay = typeof parameters.HoursPerDay?.raw === 'number' && parameters.HoursPerDay.raw > 0 ? parameters.HoursPerDay.raw : 24; + const minutesPerDay = hoursPerDay * 60; const formatter = (value: number | null) => { if (typeof value === 'number') {