Skip to content

Commit

Permalink
Updated to 0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorgullmark committed Apr 11, 2020
1 parent de2075d commit 0605afd
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 66 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.3.6] - NOT RELEASED
## [0.3.6] - 2020-04-11
##### Added
- Added a label which shows the current selection net worth value (e.g after searching/filtering) (thanks to kryo4096)
- Added the ability to set a custom price treshold interval between 1c and 100c (thanks to kryo4096)
Expand All @@ -10,6 +10,9 @@ All notable changes to this project will be documented in this file.
##### Changed
- Changed position of the "Reset zoom" button in the charts
- Disable group actions while snapshotting (thanks to PezeM)
##### Fixed
- Fixed a bug where the loading indicator would not appear when validating a session
- Fixed a bug where the total net worth would sometimes differ slightly from the item table total value
##### Removed
- Removed the unique- and map stash tabs from the stash tab dropdown (thanks to M-Schiller)

Expand Down
2 changes: 1 addition & 1 deletion ExilenceNextApp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "exilence-next-app",
"version": "0.3.5",
"version": "0.3.6",
"private": true,
"dependencies": {
"@material-ui/core": "^4.5.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,25 @@ interface ItemTableFilterSubtotalProps {
}

const ItemTableFilterSubtotal: React.FC<ItemTableFilterSubtotalProps> = ({
array: array
array: array,
}: ItemTableFilterSubtotalProps) => {
const { t } = useTranslation();
const classes = useStyles();

const sumString =
' ' +
array
.map(i => i.total)
.map((i) => i.total)
.reduce((a, b) => a + b, 0)
.toLocaleString(undefined, {
maximumFractionDigits: 2,
minimumFractionDigits: 2
minimumFractionDigits: 2,
});

console.log(
'SUBTOTAL COMPONENT:',
array.map((i) => i.total).reduce((a, b) => a + b, 0)
);
return (
<Paper className={clsx(classes.paper)}>
{t('label.filter_total')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const ToolbarContainer: React.FC<ToolbarContainerProps> = ({
uiStateStore!.setConfirmRemoveProfileDialogOpen(true)
}
isSnapshotting={uiStateStore!.isSnapshotting}
isInitiating={uiStateStore!.isInitiating}
isInitiating={uiStateStore!.isInitiating || uiStateStore!.isValidating}
isUpdatingPrices={priceStore!.isUpdatingPrices}
profilesLoaded={uiStateStore!.profilesLoaded}
/>
Expand Down
Loading

0 comments on commit 0605afd

Please sign in to comment.