diff --git a/packages/builder/src/components/portal/overview/backups/ActionsRenderer.svelte b/packages/builder/src/components/portal/overview/backups/ActionsRenderer.svelte
index 576cec488b..7dc302186a 100644
--- a/packages/builder/src/components/portal/overview/backups/ActionsRenderer.svelte
+++ b/packages/builder/src/components/portal/overview/backups/ActionsRenderer.svelte
@@ -10,7 +10,7 @@
} from "@budibase/bbui"
import ConfirmDialog from "components/common/ConfirmDialog.svelte"
import CreateRestoreModal from "./CreateRestoreModal.svelte"
- import { createEventDispatcher } from "svelte"
+ import { createEventDispatcher, onMount } from "svelte"
export let row
@@ -49,6 +49,10 @@
async function downloadExport() {
window.open(`/api/apps/${row.appId}/backups/${row._id}/file`, "_blank")
}
+
+ onMount(() => {
+ name = row.name
+ })
@@ -62,7 +66,7 @@
{/if}
-
+
@@ -100,7 +104,7 @@
title="Update Backup"
warning={false}
>
-
+
diff --git a/packages/builder/src/components/portal/overview/backups/DateRenderer.svelte b/packages/builder/src/components/portal/overview/backups/DateRenderer.svelte
deleted file mode 100644
index ec58c9ea07..0000000000
--- a/packages/builder/src/components/portal/overview/backups/DateRenderer.svelte
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- {timeSince} -
-
-
-
diff --git a/packages/builder/src/components/portal/overview/backups/NameRenderer.svelte b/packages/builder/src/components/portal/overview/backups/NameRenderer.svelte
new file mode 100644
index 0000000000..93eda410fe
--- /dev/null
+++ b/packages/builder/src/components/portal/overview/backups/NameRenderer.svelte
@@ -0,0 +1,8 @@
+
+
+{truncatedValue}
diff --git a/packages/builder/src/components/portal/overview/backups/TypeRenderer.svelte b/packages/builder/src/components/portal/overview/backups/TypeRenderer.svelte
index 9057a2adee..86ad0f3d4e 100644
--- a/packages/builder/src/components/portal/overview/backups/TypeRenderer.svelte
+++ b/packages/builder/src/components/portal/overview/backups/TypeRenderer.svelte
@@ -1,13 +1,29 @@
- {trigger}
+ {printTrigger(trigger)}
{type}
diff --git a/packages/builder/src/constants/backend/backups.js b/packages/builder/src/constants/backend/backups.js
new file mode 100644
index 0000000000..244415014c
--- /dev/null
+++ b/packages/builder/src/constants/backend/backups.js
@@ -0,0 +1,11 @@
+export const BackupTrigger = {
+ MANUAL: "manual",
+ PUBLISH: "publish",
+ RESTORING: "restoring",
+ SCHEDULED: "scheduled",
+}
+
+export const BackupType = {
+ BACKUP: "backup",
+ RESTORE: "restore",
+}
diff --git a/packages/builder/src/pages/builder/portal/_layout.svelte b/packages/builder/src/pages/builder/portal/_layout.svelte
index cf9cd55b19..9a97881a44 100644
--- a/packages/builder/src/pages/builder/portal/_layout.svelte
+++ b/packages/builder/src/pages/builder/portal/_layout.svelte
@@ -383,10 +383,5 @@
.user-dropdown {
flex: 0 1 0;
}
-
- /* Reduce BBUI page padding */
- .content :global(> *) {
- padding: calc(var(--spacing-xl) * 1.5) !important;
- }
}
diff --git a/packages/builder/src/pages/builder/portal/overview/[application]/index.svelte b/packages/builder/src/pages/builder/portal/overview/[application]/index.svelte
index cc31eec348..a5c693ab1e 100644
--- a/packages/builder/src/pages/builder/portal/overview/[application]/index.svelte
+++ b/packages/builder/src/pages/builder/portal/overview/[application]/index.svelte
@@ -391,11 +391,7 @@
gap: var(--spacing-l);
}
}
- @media (max-width: 640px) {
- .overview-wrap :global(.content > *) {
- padding: calc(var(--spacing-xl) * 1.5) !important;
- }
- }
+
.app-title {
display: flex;
gap: var(--spacing-m);