mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Update template page
This commit is contained in:
@@ -90,7 +90,7 @@ const Template = () => {
|
||||
<>
|
||||
{!templatesLoading && !templateLoading && !categoryLoading ? (
|
||||
<>
|
||||
{template && category ? (
|
||||
{template ? (
|
||||
<Wrapper>
|
||||
<Box padding='35px 45px 0px 120px'>
|
||||
<Box
|
||||
@@ -108,9 +108,11 @@ const Template = () => {
|
||||
<Text variant='headline' weight='bold'>
|
||||
{template.name}
|
||||
</Text>
|
||||
<Box marginLeft='20px'>
|
||||
<Chip text={category?.name} color={role} />
|
||||
</Box>
|
||||
{category && (
|
||||
<Box marginLeft='20px'>
|
||||
<Chip text={category.name} color={role} />
|
||||
</Box>
|
||||
)}
|
||||
</Box>
|
||||
<Box
|
||||
marginRight={role === 'productOwner' ? '20px' : undefined}
|
||||
|
||||
Reference in New Issue
Block a user