Skip to content

Commit

Permalink
add size in the file name
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <[email protected]>
  • Loading branch information
shanghaikid committed Nov 21, 2023
1 parent a022613 commit 6b0c995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/pages/dialogs/ImportSampleDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const ImportSampleDialog: FC<{ collection: string }> = props => {
)) as CollectionHttp;
if (download) {
const blob = new Blob([res._csv], { type: 'text/csv;charset=utf-8;' });
saveAs(blob, `${collectionName}.sample.csv`);
saveAs(blob, `${collectionName}.sample.${size}.csv`);
return { result: res._csv, msg: '' };
}
await MilvusHttp.flush(collectionName);
Expand Down

0 comments on commit 6b0c995

Please sign in to comment.