Export and Import vito settings (#606)

* Export and Import vito settings

* fix tests
This commit is contained in:
Saeed Vaziry
2025-06-05 17:01:22 +02:00
committed by GitHub
parent 8e8859b305
commit 4e6491a080
11 changed files with 314 additions and 3 deletions

View File

@ -0,0 +1,15 @@
import { Button } from '@/components/ui/button';
import { DownloadIcon } from 'lucide-react';
export default function ExportVito() {
const submit = () => {
window.open(route('vito-settings.export'), '_blank');
};
return (
<Button onClick={submit}>
<DownloadIcon />
Export
</Button>
);
}