Skip to content

Commit

Permalink
Fix issue 16047
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-c-martin committed Jan 9, 2025
1 parent bddc1b3 commit 1987719
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export const WhatIfChangesView: FC<WhatIfChangesViewProps> = ({ changes }) => {
};

function getWhatIfPropertyChanges(changes?: WhatIfPropertyChange[]) {

console.log(changes);
if (!changes) {
return null;
}
Expand All @@ -58,12 +60,14 @@ function getWhatIfPropertyChanges(changes?: WhatIfPropertyChange[]) {
<VscodeTableHeaderCell id="1">Path</VscodeTableHeaderCell>
<VscodeTableHeaderCell id="2">Change Type</VscodeTableHeaderCell>
</VscodeTableHeader>
<VscodeTableBody slot="body">
{filteredChanges.map((change) => (
<VscodeTableRow key={change.path}>
<VscodeTableCell id="1">{change.path}</VscodeTableCell>
<VscodeTableCell id="2">{change.propertyChangeType}</VscodeTableCell>
</VscodeTableRow>
))}
</VscodeTableBody>
</VscodeTable>
);
}

0 comments on commit 1987719

Please sign in to comment.