mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 19:04:23 +00:00
feat(project): support adding existing team members and prioritize project-specific roles
This commit is contained in:
@@ -75,7 +75,7 @@ export function FolderTree({
|
||||
}: FolderTreeProps) {
|
||||
const navigate = useNavigate()
|
||||
const queryClient = useQueryClient()
|
||||
const { canEdit } = usePermissions()
|
||||
const { canEdit } = usePermissions(projectId)
|
||||
const isRecentlyDeleted = useMatch({
|
||||
from: '/projects/$projectId/recently-deleted',
|
||||
shouldThrow: false,
|
||||
|
||||
Reference in New Issue
Block a user