refactor(ui): remove unnecessary step3ButtonText attributes from modal confirmation components for cleaner code

This commit is contained in:
Andras Bacsai
2025-06-30 09:15:23 +02:00
parent 90817914d9
commit 2b84ce841b
12 changed files with 73 additions and 44 deletions

View File

@@ -18,12 +18,12 @@
<x-modal-confirmation title="Confirm Server Deletion?" isErrorButton buttonTitle="Delete"
submitAction="delete" :actions="['This server will be permanently deleted.']" confirmationText="{{ $server->name }}"
confirmationLabel="Please confirm the execution of the actions by entering the Server Name below"
shortConfirmationLabel="Server Name" step3ButtonText="Confirm" />
shortConfirmationLabel="Server Name" />
@else
<x-modal-confirmation title="Confirm Server Deletion?" isErrorButton buttonTitle="Delete"
submitAction="delete" :actions="['This server will be permanently deleted.']" confirmationText="{{ $server->name }}"
confirmationLabel="Please confirm the execution of the actions by entering the Server Name below"
shortConfirmationLabel="Server Name" step3ButtonText="Confirm" />
shortConfirmationLabel="Server Name" />
@endif
@endif
</div>