updated CollectionsImport and CollectionUpsert forms

This commit is contained in:
Gani Georgiev
2022-08-06 18:15:18 +03:00
parent 4e58e7ad6a
commit 5fb45a1864
10 changed files with 224 additions and 93 deletions
+5 -4
View File
@@ -36,9 +36,10 @@
export async function load() {
isLoading = true;
return ApiClient.logs.getRequestsStats({
filter: [presets, filter].filter(Boolean).join("&&"),
})
return ApiClient.logs
.getRequestsStats({
filter: [presets, filter].filter(Boolean).join("&&"),
})
.then((result) => {
resetData();
for (let item of result) {
@@ -147,7 +148,7 @@
<div class="chart-wrapper" class:loading={isLoading}>
{#if isLoading}
<div class="chart-loader loader" transition:scale={{ duration: 150 }} />
<div class="chart-loader loader" transition:scale|local={{ duration: 150 }} />
{/if}
<canvas bind:this={chartCanvas} class="chart-canvas" style="height: 250px; width: 100%;" />
</div>