fix button text kind of

This commit is contained in:
peaklabs-dev
2024-10-17 13:05:58 +02:00
parent 83c7e1b78b
commit 8b114f5558
2 changed files with 2 additions and 2 deletions

View File

@@ -331,7 +331,7 @@
} }
" "
> >
<span x-text="disableTwoStepConfirmation ? 'Permanently Delete' : step2ButtonText"></span> <span x-text="disableTwoStepConfirmation ? step2ButtonText : 'Permanently Delete'"></span>
</x-forms.button> </x-forms.button>
</template> </template>

View File

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