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:
parent
09b4fbd7b6
commit
b844e58568
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue