mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
clean: paths.
This commit is contained in:
+4
-2
@@ -14,14 +14,16 @@
|
||||
|
||||
$: writes = data.databaseWrites;
|
||||
$: writesTotal = data.databaseWritesTotal;
|
||||
|
||||
$: path = `${base}/project-${$page.params.region}-${$page.params.project}/databases/database-${$page.params.database}/usage`;
|
||||
</script>
|
||||
|
||||
<div class="u-flex u-flex-vertical u-gap-16">
|
||||
<Usage
|
||||
title="Usage"
|
||||
path={`${base}/project-${$page.params.region}-${$page.params.project}/databases/database-${$page.params.database}/usage`}
|
||||
{path}
|
||||
{total}
|
||||
{count}
|
||||
title="Usage"
|
||||
countMetadata={{
|
||||
legend: 'Collections',
|
||||
title: 'Total collections'
|
||||
|
||||
+5
-3
@@ -9,21 +9,23 @@
|
||||
$: files = data.files;
|
||||
$: transformationsTotal = data.imageTransformationsTotal;
|
||||
$: transformations = data.imageTransformations;
|
||||
|
||||
$: path = `${base}/project-${$page.params.region}-${$page.params.project}/storage/bucket-${$page.params.bucket}/usage`;
|
||||
</script>
|
||||
|
||||
<Usage
|
||||
{path}
|
||||
title="Files"
|
||||
path={`${base}/project-${$page.params.region}-${$page.params.project}/storage/bucket-${$page.params.bucket}/usage`}
|
||||
total={filesTotal}
|
||||
count={files}
|
||||
total={filesTotal}
|
||||
countMetadata={{
|
||||
legend: 'Files',
|
||||
title: 'Total files'
|
||||
}} />
|
||||
|
||||
<Usage
|
||||
{path}
|
||||
title="Image transformations"
|
||||
path={`${base}/project-${$page.params.region}-${$page.params.project}/storage/bucket-${$page.params.bucket}/usage`}
|
||||
total={transformationsTotal}
|
||||
count={transformations}
|
||||
countMetadata={{
|
||||
|
||||
Reference in New Issue
Block a user