Skip to content

Typo in file size units #16

Description

@bd-halkoaho

Thank you for the nice file manager component!

There is one small but significant bug: there is a typo in the file size units shown to users, using b for bits instead of B for bytes. This makes for completely incorrect file sizes from user's perspective.

There's also a slight inconsistency in the calculations when changing to a bigger unit: both 1024 and 1000 are used in the calculations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions