Update template page

This commit is contained in:
Hazem Krimi
2021-06-04 17:49:42 +01:00
parent 97c39724a6
commit 629e90e920
+6 -4
View File
@@ -90,7 +90,7 @@ const Template = () => {
<> <>
{!templatesLoading && !templateLoading && !categoryLoading ? ( {!templatesLoading && !templateLoading && !categoryLoading ? (
<> <>
{template && category ? ( {template ? (
<Wrapper> <Wrapper>
<Box padding='35px 45px 0px 120px'> <Box padding='35px 45px 0px 120px'>
<Box <Box
@@ -108,9 +108,11 @@ const Template = () => {
<Text variant='headline' weight='bold'> <Text variant='headline' weight='bold'>
{template.name} {template.name}
</Text> </Text>
<Box marginLeft='20px'> {category && (
<Chip text={category?.name} color={role} /> <Box marginLeft='20px'>
</Box> <Chip text={category.name} color={role} />
</Box>
)}
</Box> </Box>
<Box <Box
marginRight={role === 'productOwner' ? '20px' : undefined} marginRight={role === 'productOwner' ? '20px' : undefined}