Feat: del init script

This commit is contained in:
ayntk-ai
2024-09-02 23:58:48 +02:00
parent c3188958b4
commit 3d1c730703

View File

@@ -2,13 +2,14 @@
<div class="flex items-end gap-2"> <div class="flex items-end gap-2">
<x-forms.input id="filename" label="Filename" /> <x-forms.input id="filename" label="Filename" />
<x-forms.button type="submit">Save</x-forms.button> <x-forms.button type="submit">Save</x-forms.button>
<x-modal-confirmation <x-modal-confirmation
isErrorButton
title="Confirm init-script deletion?" title="Confirm init-script deletion?"
buttonTitle="Delete" buttonTitle="Delete"
isErrorButton
submitAction="delete" submitAction="delete"
:actions="[ :actions="[
'The init-script of this database will be permanently deleted.' 'The init-script of this database will be permanently deleted.',
'If you are actively using this init-script, it could cause errors on redeployments.'
]" ]"
confirmationText="{{ $filename }}" confirmationText="{{ $filename }}"
confirmationLabel="Please confirm the execution of the actions by entering the init-script name below" confirmationLabel="Please confirm the execution of the actions by entering the init-script name below"