fix(web) fix test (#1059)

This commit is contained in:
Alex 2022-12-04 22:51:22 -06:00 committed by GitHub
parent 5d140145c1
commit 966d99217a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 35 additions and 17 deletions

View file

@ -18,7 +18,7 @@
$: [spaceUsage, spaceUnit] = getBytesWithUnit(stats.usageRaw);
const locale = navigator.languages;
const locale = navigator.language;
</script>
<div class="flex flex-col gap-5">
@ -28,7 +28,7 @@
<div class="flex mt-5 justify-between">
<StatsCard logo={CameraIris} title={'PHOTOS'} value={stats.photos.toString()} />
<StatsCard logo={PlayCircle} title={'VIDEOS'} value={stats.videos.toString()} />
<StatsCard logo={Memory} title={'STORAGE'} value={spaceUsage} unit={spaceUnit} />
<StatsCard logo={Memory} title={'STORAGE'} value={spaceUsage.toString()} unit={spaceUnit} />
</div>
</div>