fix: replace stray role reference in system settings tab with inline placeholder

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-04-29 08:04:22 +02:00
parent ba95723b61
commit ecd8e3679f

View File

@@ -1546,15 +1546,31 @@ export default function Settings() {
</tbody> </tbody>
</table> </table>
) : ( ) : (
<Skeleton <div
name="settings-permissions" style={{
loading={ padding: "1rem",
!role.permissions || role.permissions.length === 0 display: "flex",
} flexDirection: "column",
fixture={<span>...</span>} gap: "0.5rem",
}}
> >
<span>{role.permissions?.length || 0} oprávnění</span> <div
</Skeleton> style={{
height: "0.75rem",
background: "#e0e0e0",
borderRadius: "4px",
width: "60%",
}}
/>
<div
style={{
height: "0.75rem",
background: "#e0e0e0",
borderRadius: "4px",
width: "40%",
}}
/>
</div>
)} )}
</div> </div>
</motion.div> </motion.div>