mirror of
https://github.com/harness/drone.git
synced 2025-05-16 17:09:58 +08:00
[UI] hide refresh button in readonly mode (#627)
This commit is contained in:
parent
032a7a89c8
commit
40fdb462c2
@ -327,7 +327,7 @@ export const Changes: React.FC<ChangesProps> = ({
|
||||
/>
|
||||
</Text>
|
||||
|
||||
<Render when={prHasChanged}>
|
||||
<Render when={prHasChanged && !readOnly}>
|
||||
<PlainButton
|
||||
text={getString('refresh')}
|
||||
className={css.refreshBtn}
|
||||
|
Loading…
Reference in New Issue
Block a user