Use the new Managed Export CSV Button#4075
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
ca75d9b to
763051a
Compare
| columns={columns} | ||
| tableName={tableName} | ||
| disabled={isRowsEmpty} | ||
| disabled={!isRowsEmpty} |
There was a problem hiding this comment.
Why this change ?
Export button is now disabled if there are results available in loadflow, voltage init and state estimation
| const fileBlob = await downloadZipResult( | ||
| studyUuid as UUID, | ||
| nodeUuid as UUID, | ||
| currentRootNetworkUuid as UUID, |
There was a problem hiding this comment.
These casts are useless ...
| csvHeaders={csvHeaders} | ||
| nOrNkIndex={nOrNkIndex} | ||
| sensiKind={sensiTab} | ||
| <ManagedExportCsvButton |
There was a problem hiding this comment.
csv headers are not properly translated anymore (sometimes in english when it should be french, and sometimes in french when it should be in english) :
But this error is already present (not introduced by this PR), and fields separators are ok in the exported csv
| nodeUuid={nodeUuid} | ||
| currentRootNetworkUuid={currentRootNetworkUuid} | ||
| csvHeaders={csvHeaders} | ||
| <ManagedExportCsvButton |
There was a problem hiding this comment.
csv headers are not properly translated anymore (sometimes in english when it should be french, and sometimes in french when it should be in english) :
But this error is already present (not introduced in this PR), and fields separators are ok in the exported csv
Signed-off-by: Franck LECUYER <franck.lecuyer@rte-france.com>
…and sensitivity analysis results. Signed-off-by: Franck LECUYER <franck.lecuyer@rte-france.com>
FranckLecuyer
left a comment
There was a problem hiding this comment.
Tests: some fixes added (see 2 last commits)
No description provided.