Fix legacy hosting order page 500 from stale route names.
Deploy Ladill Hosting / deploy (push) Successful in 21s
Deploy Ladill Hosting / deploy (push) Successful in 21s
Point show.blade.php at hosting.legacy.* routes and add the missing input-error component. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@props(['messages'])
|
||||
|
||||
@if ($messages)
|
||||
<ul {{ $attributes->merge(['class' => 'text-sm text-red-600 space-y-1']) }}>
|
||||
@foreach ((array) $messages as $message)
|
||||
<li>{{ $message }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
@@ -49,7 +49,7 @@
|
||||
this.passwordSuccess = '';
|
||||
|
||||
try {
|
||||
const res = await fetch('{{ route('hosting.reset-panel-password', $order) }}', {
|
||||
const res = await fetch('{{ route('hosting.legacy.reset-panel-password', $order) }}', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
@@ -300,7 +300,7 @@
|
||||
this.error = '';
|
||||
this.success = '';
|
||||
try {
|
||||
const res = await fetch('{{ route('hosting.renew', $order) }}', {
|
||||
const res = await fetch('{{ route('hosting.legacy.renew', $order) }}', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user