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:
@@ -453,7 +453,7 @@ export function FileBrowser({
|
||||
const newVersionInputRef = useRef<HTMLInputElement>(null)
|
||||
const [targetVersionFileId, setTargetVersionFileId] = useState<string | null>(null)
|
||||
const fileContextMenu = useRef(false)
|
||||
const { canEdit, canAdmin } = usePermissions()
|
||||
const { canEdit, canAdmin } = usePermissions(projectId)
|
||||
|
||||
const scrollContainerRef = useRef<HTMLDivElement>(null)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user