Skip to content

Commit

Permalink
fix: add MimeTypes to folder autocompletions
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Vackier committed Jan 14, 2025
1 parent d2d7638 commit 71e4ff1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import SingleLineEditor from 'components/SingleLineEditor';
import StyledWrapper from './StyledWrapper';
import { headers as StandardHTTPHeaders } from 'know-your-http-well';
const headerAutoCompleteList = StandardHTTPHeaders.map((e) => e.header);
import { MimeTypes } from 'utils/codemirror/autocompleteConstants';

const Headers = ({ collection, folder }) => {
const dispatch = useDispatch();
Expand Down Expand Up @@ -117,6 +118,7 @@ const Headers = ({ collection, folder }) => {
}
collection={collection}
item={folder}
autocomplete={MimeTypes}
/>
</td>
<td>
Expand Down

0 comments on commit 71e4ff1

Please sign in to comment.