diff --git a/src/pages/Browse/Browse.tsx b/src/pages/Browse/Browse.tsx index ee650441..6fd6df80 100644 --- a/src/pages/Browse/Browse.tsx +++ b/src/pages/Browse/Browse.tsx @@ -88,12 +88,14 @@ export const Browse = () => { if (file === undefined) return; const fileType = UploadFileType.NET_CDF; + const filenameExtention = file.name.split('.').pop(); + const fileExtention = '.' + filenameExtention; const data = { ModelId: id, FileSize: file.size, FileName: file.name, - FileExtension: 'test', + FileExtension: fileExtention, FileType: fileType, };