@rullzer @oparoz as discussed, a utility class on the JS side that stores a list of mimetypes for which previews are supported.
This makes it possible to get rid of "isPreviewAvailable" so the server doesn't have to compute and return this for every file.
@rullzer @oparoz as discussed, a utility class on the JS side that stores a list of mimetypes for which previews are supported.
This makes it possible to get rid of "isPreviewAvailable" so the server doesn't have to compute and return this for every file.