Make discord integration a module

This allows for an error message if the docker integration fails to load
This commit is contained in:
Thomas "ajnart" Camlong
2022-07-21 11:43:43 +02:00
parent 715a4bd6c7
commit 00751eeca5
17 changed files with 76 additions and 133 deletions

View File

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