mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +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 ? (
|
||||
<>
|
||||
@@ -362,10 +364,7 @@ const Prototype = () => {
|
||||
)}
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
{role === 'admin' && <Redirect to='/clients' />}
|
||||
{role === 'client' && <Redirect to='/project' />}
|
||||
</>
|
||||
<>{role === 'admin' && <Redirect to='/clients' />}</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user