* refactor: strip out volume path in snapshot list / restore chore: lint issue * test: backups new include patterns
15 lines
462 B
TypeScript
15 lines
462 B
TypeScript
import { RestoreForm } from "~/client/components/restore-form";
|
|
import type { Repository } from "~/client/lib/types";
|
|
|
|
type Props = {
|
|
repository: Repository;
|
|
snapshotId: string;
|
|
returnPath: string;
|
|
basePath?: string;
|
|
};
|
|
|
|
export function RestoreSnapshotPage(props: Props) {
|
|
const { returnPath, snapshotId, repository, basePath } = props;
|
|
|
|
return <RestoreForm repository={repository} snapshotId={snapshotId} returnPath={returnPath} basePath={basePath} />;
|
|
}
|