1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

displaying cells

This commit is contained in:
Fedor Katurov 2019-10-12 17:22:47 +07:00
parent 09b4fbd7b6
commit b844e58568
2 changed files with 4 additions and 4 deletions

View file

@ -54,7 +54,7 @@ export const describeArc = (
].join(' ');
};
export const getURL = (file: IFile) => {
export const getURL = (file: Partial<IFile>) => {
if (!file || !file.url) return null;
return file.url