We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a43a364 commit 0d19bdeCopy full SHA for 0d19bde
src/components/SidePanel.tsx
@@ -112,7 +112,7 @@ export default function SidePanel({
112
const references =
113
entity && roCrate ? findReferences(roCrate, entity["@id"]) : [];
114
115
- const isAlreadyEgo = entity && egoNodeId === entity["@id"];
+ const isAlreadyEgo = !!(entity && egoNodeId === entity["@id"]);
116
117
const handleMakeEgo = () => {
118
if (entity && onMakeEgo) {
0 commit comments