Add script files to the list of human readable files

This commit is contained in:
Yamboy1 2020-01-18 20:00:43 +13:00 committed by Sean Yesmunt
parent ac61c58256
commit 4f4abdd3fa

View file

@ -176,7 +176,7 @@ export const makeSelectIsText = (uri: string) =>
createSelector( createSelector(
makeSelectMediaTypeForUri(uri), makeSelectMediaTypeForUri(uri),
mediaType => { mediaType => {
const isText = ['text', 'document'].includes(mediaType); const isText = ['document', 'script'].includes(mediaType);
return isText; return isText;
} }
); );