File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed
src/Geta.NotFoundHandler.Admin/Areas/GetaNotFoundHandlerAdmin/Pages Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 4949 </td >
5050 <td >
5151 <select class =" form-select" asp-for =" CustomRedirect.RedirectType" >
52- @if (Options .Value .DefaultRedirectType == RedirectType .Temporary )
53- {
54- <option selected value =" @RedirectType.Temporary" >@RedirectType.Temporary </option >
55- }
56- else
57- {
58- <option value =" @RedirectType.Temporary" >@RedirectType.Temporary </option >
59- }
60-
61- @if (Options .Value .DefaultRedirectType == RedirectType .Permanent )
62- {
63- <option selected value =" @RedirectType.Permanent" >@RedirectType.Permanent </option >
64- }
65- else
66- {
67- <option value =" @RedirectType.Permanent" >@RedirectType.Permanent </option >
68- }
52+ <option value =" @RedirectType.Temporary"
53+ selected =" @(Options.Value.DefaultRedirectType == RedirectType.Temporary)" >
54+ @RedirectType.Temporary
55+ </option >
56+ <option value =" @RedirectType.Permanent"
57+ selected =" @(Options.Value.DefaultRedirectType == RedirectType.Permanent)" >
58+ @RedirectType.Permanent
59+ </option >
6960 </select >
7061 </td >
7162 <td >
You can’t perform that action at this time.
0 commit comments