Skip to content

Commit

Permalink
Merge pull request #178 from jetstreamapp/bub/custom-metadata-results
Browse files Browse the repository at this point in the history
Fix custom metadata load results table
  • Loading branch information
paustint authored Mar 2, 2023
2 parents efa99c7 + 2367417 commit 5b8ab43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const PerformLoadCustomMetadata: FunctionComponent<PerformLoadCustomMetad
);
let header: string[] = [];
let data = Object.keys(metadata).map((fullName) => {
if (!header) {
if (!header.length) {
header = ['_id', '_success', '_error', '_created', '_changed', ...Object.keys(metadata[fullName].record)];
}
return {
Expand Down

0 comments on commit 5b8ab43

Please sign in to comment.