mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Swap table and file names in Importer
Summary: The table name now comes first, making it easier to distinguish tables coming from an Excel file with multiple sheets. Test Plan: Tested manually and updated browser test. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3173
This commit is contained in:
parent
f8e2cc4de3
commit
258d3cbb89
@ -902,7 +902,7 @@ class CancelledError extends Error {
|
|||||||
|
|
||||||
function getSourceDescription(sourceInfo: SourceInfo, upload: UploadResult) {
|
function getSourceDescription(sourceInfo: SourceInfo, upload: UploadResult) {
|
||||||
const origName = upload.files[sourceInfo.uploadFileIndex].origName;
|
const origName = upload.files[sourceInfo.uploadFileIndex].origName;
|
||||||
return sourceInfo.origTableName ? origName + ' - ' + sourceInfo.origTableName : origName;
|
return sourceInfo.origTableName ? `${sourceInfo.origTableName} - ${origName}` : origName;
|
||||||
}
|
}
|
||||||
|
|
||||||
const cssContainer = styled('div', `
|
const cssContainer = styled('div', `
|
||||||
|
Loading…
Reference in New Issue
Block a user