Enable returning to form frames by the existance of a frame input

This commit is contained in:
2024-01-13 13:20:20 +11:00
parent b92157a987
commit 0f9bb07d21
2 changed files with 9 additions and 13 deletions

View File

@@ -181,10 +181,17 @@ class HomeController extends Controller
});
if (old('dn'))
return view('dn')
return view('frame')
->with('subframe','dn')
->with('bases',$bases)
->with('o',config('server')->fetch($dn=Crypt::decryptString(old('dn'))))
->with('dn',$dn);
elseif (old('frame'))
return view('frame')
->with('subframe',old('frame'))
->with('bases',$bases);
else
return view('home')
->with('bases',$bases)