mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Update Props interface in RestoreBackup and ShowBackups components to make databaseType optional, enhancing flexibility in component usage.
This commit is contained in:
@@ -71,7 +71,7 @@ type DatabaseType =
|
||||
|
||||
interface Props {
|
||||
id: string;
|
||||
databaseType: DatabaseType;
|
||||
databaseType?: DatabaseType;
|
||||
serverId?: string | null;
|
||||
backupType?: "database" | "compose";
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ import { AlertBlock } from "@/components/shared/alert-block";
|
||||
|
||||
interface Props {
|
||||
id: string;
|
||||
databaseType: Exclude<ServiceType, "application" | "redis"> | "web-server";
|
||||
databaseType?: Exclude<ServiceType, "application" | "redis"> | "web-server";
|
||||
backupType?: "database" | "compose";
|
||||
}
|
||||
export const ShowBackups = ({
|
||||
|
||||
Reference in New Issue
Block a user