Skip to content

Commit

Permalink
fix: hide system property box if there are no properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Tethik committed Oct 18, 2023
1 parent f661c76 commit 18dbbdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/components/model/panels/left/SystemProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export function SystemProperties({ modelId }) {
return <ErrorLine message={error.message} />;
}

if (!properties || properties.length === 0) {
return <></>;
}

return (
<Card elevation={2}>
<CardContent>
Expand Down

0 comments on commit 18dbbdf

Please sign in to comment.