fix: [CODE-2760] exclude principal calls from readonly Editor (#3234)

* fix: [CODE-2760] exclude principal calls from readonly Editor
BT-10437
Ritik Kapoor 2025-01-07 16:57:57 +00:00 committed by Harness
parent 19363d2b1a
commit 0ce1cde6c8
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ export const Editor = React.memo(function CodeMirrorReactEditor({
})
useEffect(() => {
fetchUsers('')
!readonly && fetchUsers('')
}, [])
useEffect(() => {