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