mirror of
https://github.com/immich-app/immich.git
synced 2025-11-15 11:32:35 +09:00
feat(server,web,mobile): Use binary prefixes for data sizes (#1009)
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
return name;
|
||||
};
|
||||
|
||||
$: spaceUnit = stats.usage.slice(stats.usage.length - 2, stats.usage.length);
|
||||
$: spaceUsage = stats.usage.slice(0, stats.usage.length - 2);
|
||||
$: spaceUnit = stats.usage.split(' ')[1];
|
||||
$: spaceUsage = stats.usage.split(' ')[0];
|
||||
</script>
|
||||
|
||||
<div class="flex flex-col gap-5">
|
||||
|
||||
Reference in New Issue
Block a user