mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-24 21:25:45 +00:00
use filepicker component within filebody and response example filebody
This commit is contained in:
@@ -59,6 +59,7 @@ const Wrapper = styled.div`
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
accent-color: ${(props) => props.theme.primary.solid};
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ const FileBody = ({ item, collection }) => {
|
||||
'filePath'
|
||||
)}
|
||||
collection={collection}
|
||||
displayMode="labelAndIcon"
|
||||
/>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -120,6 +120,7 @@ const ResponseExampleFileBody = ({ item, collection, exampleUid, editMode = fals
|
||||
onChange={(newPath) => handleFilePathChange(row, newPath, onChange)}
|
||||
collection={collection}
|
||||
readOnly={!editMode}
|
||||
displayMode="labelAndIcon"
|
||||
/>
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user