[WEB-2778] chore: private project join restriction (#6082)
* chore: private project join restriction * chore: update project not found container layout * chore: restrict other users to join private project * chore: add check condition using enum --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
This commit is contained in:
parent
b72d18079f
commit
6ef62820fa
3 changed files with 11 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ export const ProjectAuthWrapper: FC<IProjectAuthWrapper> = observer((props) => {
|
|||
// check if the project info is not found.
|
||||
if (!loader && !projectExists && projectId && !!hasPermissionToCurrentProject === false)
|
||||
return (
|
||||
<div className="container grid h-screen place-items-center bg-custom-background-100">
|
||||
<div className="grid h-screen place-items-center bg-custom-background-100">
|
||||
<EmptyState
|
||||
title="No such project exists"
|
||||
description="Try creating a new project"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue