Support fractional sales backlog values in localStorage #27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, when setting the max sales backlog to a fractional value (e.g.,
0.1) in the options, it works initially. However, on page refresh, the max sales backlog resets to7. This happens becauseNumber.parseInt(0.1)returns0, which causes it to fall back to the default value.A simple fix would be to use
parseFloatinstead ofparseIntwhen retrieving the value fromlocalStorage, allowing fractional values to be preserved.Would it be possible to update this behavior?
No problem, that's all done!