added backup apis and tests

This commit is contained in:
Gani Georgiev
2023-05-13 22:10:14 +03:00
parent 3b0f60fe15
commit e8b4a7eb26
104 changed files with 3192 additions and 1017 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
dispatch("submit");
} catch (err) {
ApiClient.errorResponseHandler(err);
ApiClient.error(err);
}
isLoading = false;
+4 -1
View File
@@ -7,6 +7,9 @@
let tooltipData = { text: "Refresh", position: "right" };
export { tooltipData as tooltip };
let classes = "";
export { classes as class };
let refreshTimeoutId = null;
function refresh() {
@@ -31,7 +34,7 @@
<button
type="button"
aria-label="Refresh"
class="btn btn-transparent btn-circle"
class="btn btn-transparent btn-circle {classes}"
class:refreshing={refreshTimeoutId}
use:tooltip={tooltipData}
on:click={refresh}
+3
View File
@@ -157,6 +157,9 @@
function handleOptionKeypress(e, item) {
if (e.code === "Enter" || e.code === "Space") {
handleOptionSelect(e, item);
if (closable) {
hideDropdown();
}
}
}