Add back text files

This commit is contained in:
Yamboy1 2020-01-26 17:09:23 +13:00 committed by Sean Yesmunt
parent 7cb187907d
commit 9309fa1677

View file

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