Merge pull request #292 from arghyadipchak/master

Fix Dash. compact view storage
This commit is contained in:
Thomas Camlong
2022-07-21 09:08:00 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
export const REPO_URL = 'ajnart/homarr'; export const REPO_URL = 'ajnart/homarr';
export const CURRENT_VERSION = 'v0.7.2'; export const CURRENT_VERSION = 'v0.8.0';

View File

@@ -1,6 +1,6 @@
{ {
"name": "homarr", "name": "homarr",
"version": "0.7.2", "version": "0.8.0",
"description": "Homarr - A homepage for your server.", "description": "Homarr - A homepage for your server.",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -181,7 +181,7 @@ export function DashdotComponent() {
<div className={classes.tableRow}> <div className={classes.tableRow}>
<p className={classes.tableLabel}>Storage:</p> <p className={classes.tableLabel}>Storage:</p>
<p className={classes.tableValue}> <p className={classes.tableValue}>
{(totalUsed / (totalSize || 1)).toFixed(1)}%{'\n'} {(100 * totalUsed / (totalSize || 1)).toFixed(1)}%{'\n'}
{bytePrettyPrint(totalUsed)} / {bytePrettyPrint(totalSize)} {bytePrettyPrint(totalUsed)} / {bytePrettyPrint(totalSize)}
</p> </p>
</div> </div>