@ocelescope/ocelot 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1053,7 +1053,7 @@ const Graph = (props) => /* @__PURE__ */ jsx(ReactFlowProvider, { children: /* @
1053
1053
  const ObjectGraph = () => {
1054
1054
  const { id: ocelId } = useCurrentOcel();
1055
1055
  const { data: o2o } = useO2o(ocelId);
1056
- const { data: objectAttributes = [] } = useObjectAttributes(ocelId);
1056
+ const { data: objectAttributes } = useObjectAttributes(ocelId);
1057
1057
  const { data: objectCounts } = useObjectCounts(ocelId);
1058
1058
  const [searchValue, setSearchValue] = useDebouncedState("", 200);
1059
1059
  const [visualization, setVisualization] = useState("graph");
@@ -1122,7 +1122,7 @@ const ObjectGraph = () => {
1122
1122
  }
1123
1123
  }
1124
1124
  }, ocelId),
1125
- visualization === "cards" && objectCounts && /* @__PURE__ */ jsx(EntityOverview, {
1125
+ visualization === "cards" && objectCounts && objectAttributes && /* @__PURE__ */ jsx(EntityOverview, {
1126
1126
  entityCounts: objectCounts,
1127
1127
  attributes: objectAttributes,
1128
1128
  relations: o2o?.response ?? [],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocelescope/ocelot",
3
3
  "type": "module",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "description": "A module for inspections of OCELs",
6
6
  "author": "Görkem-Emre Öztürk <goerkem.oeztuerk@rwth-aachen.de>",
7
7
  "license": "MIT",