Skip to content

Commit

Permalink
includes fix from PR review, re #10666
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Apr 17, 2024
1 parent fd0dc58 commit 430e791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/media/js/viewmodels/resource-instance-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ define([
inverseOntologyProperty = graph.config.inverseOntologyProperty;

if (self.node && (!ontologyProperty || !inverseOntologyProperty) ) {
self.relationship(self.node.config.graphs()?.[0]?.useOntologyRelationship);
self.relationship(!!self.node.ontologyclass());
var ontologyProperties = self.node.config.graphs().find(function(nodeConfigGraph) {
return nodeConfigGraph.graphid === graph.graphid;
});
Expand Down

0 comments on commit 430e791

Please sign in to comment.