This repository was archived by the owner on Apr 21, 2026. It is now read-only.
Commit 4b96251
fix: Blank page on admin users and hidden blog create button
- checkRoleAccess now properly redirects non-HTMX requests to error403
instead of using HX-Redirect + abort which produced a blank page
- Remove d-none class from "Create New Article" button so it displays
for editors and admins
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 285efa0 commit 4b96251
2 files changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments