Skip to content

Commit

Permalink
fix: make unary response readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
notmedia committed Aug 17, 2022
1 parent 50f25da commit 00204d5
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ export const UnaryCallResponse: React.FC<UnaryCallResponseProps> = ({ tab }) =>
<StyledContainer>
<Tabs activeKey={tab.data.response.id} activeBar={{ color: 'secondary', position: 'bottom' }}>
<Tab title="Response" id={tab.data.response.id} key={tab.data.response.id}>
<CodeEditor height="100%" maxWidth="100%" width="100%" value={tab.data.response.value} />
<CodeEditor
height="100%"
maxWidth="100%"
width="100%"
value={tab.data.response.value}
readOnly
/>
</Tab>
</Tabs>
</StyledContainer>
Expand Down

0 comments on commit 00204d5

Please sign in to comment.