mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 13:34:33 +00:00
feat(project): support adding existing team members and prioritize project-specific roles
This commit is contained in:
@@ -47,7 +47,7 @@ export default function FileSystemManager({
|
||||
}: FileSystemManagerProps) {
|
||||
const navigate = useNavigate()
|
||||
const queryClient = useQueryClient()
|
||||
const { canEdit } = usePermissions()
|
||||
const { canEdit } = usePermissions(projectId)
|
||||
const { loadedProjectId, setFields } = useFieldStore()
|
||||
const $patchMetadata = client.api.files[':fileId'].metadata.$patch
|
||||
const { mutate: patchMetadata } = useMutation<
|
||||
|
||||
Reference in New Issue
Block a user