mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update prototype page
This commit is contained in:
@@ -215,7 +215,9 @@ const Prototype = () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return role === 'productOwner' || role === 'developer' ? (
|
return role === 'productOwner' ||
|
||||||
|
role === 'developer' ||
|
||||||
|
role === 'client' ? (
|
||||||
<>
|
<>
|
||||||
{!templateLoading && !prototypeLoading ? (
|
{!templateLoading && !prototypeLoading ? (
|
||||||
<>
|
<>
|
||||||
@@ -362,10 +364,7 @@ const Prototype = () => {
|
|||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>{role === 'admin' && <Redirect to='/clients' />}</>
|
||||||
{role === 'admin' && <Redirect to='/clients' />}
|
|
||||||
{role === 'client' && <Redirect to='/project' />}
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user