mirror of https://github.com/harness/drone.git
fix: [CODE-2760] exclude principal calls from readonly Editor (#3234)
* fix: [CODE-2760] exclude principal calls from readonly EditorBT-10437
parent
19363d2b1a
commit
0ce1cde6c8
|
@ -211,7 +211,7 @@ export const Editor = React.memo(function CodeMirrorReactEditor({
|
|||
})
|
||||
|
||||
useEffect(() => {
|
||||
fetchUsers('')
|
||||
!readonly && fetchUsers('')
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Reference in New Issue