mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 23:12:35 +00:00
#591 - node
This commit is contained in:
@ -15,6 +15,7 @@ import { DropdownMenuItem } from '@/components/ui/dropdown-menu';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { LoaderCircleIcon } from 'lucide-react';
|
||||
import FormSuccessful from '@/components/form-successful';
|
||||
import InputError from '@/components/ui/input-error';
|
||||
|
||||
export default function Uninstall({ service }: { service: Service }) {
|
||||
const [open, setOpen] = useState(false);
|
||||
@ -39,7 +40,10 @@ export default function Uninstall({ service }: { service: Service }) {
|
||||
<DialogTitle>Uninstall service</DialogTitle>
|
||||
<DialogDescription className="sr-only">Uninstall service</DialogDescription>
|
||||
</DialogHeader>
|
||||
<p className="p-4">Are you sure you want to uninstall this service? This action cannot be undone.</p>
|
||||
<div className="space-y-2 p-4">
|
||||
<p>Are you sure you want to uninstall this service? This action cannot be undone.</p>
|
||||
<InputError message={form.errors.service} />
|
||||
</div>
|
||||
<DialogFooter>
|
||||
<DialogClose asChild>
|
||||
<Button variant="outline">Cancel</Button>
|
||||
|
Reference in New Issue
Block a user