[UI] hide refresh button in readonly mode (#627)

This commit is contained in:
Johannes Batzill 2023-09-28 23:40:04 +00:00 committed by Harness
parent 032a7a89c8
commit 40fdb462c2

View File

@ -327,7 +327,7 @@ export const Changes: React.FC<ChangesProps> = ({
/> />
</Text> </Text>
<Render when={prHasChanged}> <Render when={prHasChanged && !readOnly}>
<PlainButton <PlainButton
text={getString('refresh')} text={getString('refresh')}
className={css.refreshBtn} className={css.refreshBtn}