setIsEditingSource(true)}
+ className={styles.plusIcon}
+ />
+ >
+ )
+ }
+
>
)}
@@ -210,12 +219,18 @@ export default function MetadataInfo({ title, link, label, icon, specific, uri }
{editSourceIndex === index ? null : (
-
-
+ {
+ isOwner && (
+ <>
+
+
+ >
+ )
+ }
)}
|
diff --git a/frontend/components/Viewing/ViewHeader.js b/frontend/components/Viewing/ViewHeader.js
index ba6b4361..f070d594 100644
--- a/frontend/components/Viewing/ViewHeader.js
+++ b/frontend/components/Viewing/ViewHeader.js
@@ -143,11 +143,18 @@ export default function ViewHeader(properties) {
) : (
{displayedTitle}
-
+ {
+ isOwner && (
+ <>
+
+ >
+ )
+ }
+
)}
diff --git a/frontend/sparql/CountMembers.js b/frontend/sparql/CountMembers.js
index 76c51329..181380f9 100644
--- a/frontend/sparql/CountMembers.js
+++ b/frontend/sparql/CountMembers.js
@@ -1,7 +1,7 @@
const query = `PREFIX sbol2:
PREFIX dcterms:
SELECT (COUNT(DISTINCT ?uri) AS ?count)
-FROM <$graphs>
+$from
WHERE {
<$collection> sbol2:member ?uri .
OPTIONAL { ?uri a ?type . }
diff --git a/frontend/sparql/CountMembersSearch.js b/frontend/sparql/CountMembersSearch.js
index 10d75cc5..c8f3ca88 100644
--- a/frontend/sparql/CountMembersSearch.js
+++ b/frontend/sparql/CountMembersSearch.js
@@ -1,7 +1,7 @@
const query = `PREFIX sbol2:
PREFIX dcterms:
SELECT (COUNT(DISTINCT ?uri) AS ?count)
-FROM <$graphs>
+$from
WHERE {
<$collection> sbol2:member ?uri .
OPTIONAL { ?uri a ?type . }
diff --git a/frontend/sparql/getCollectionMembers.js b/frontend/sparql/getCollectionMembers.js
index 6e3a4c95..5782b786 100644
--- a/frontend/sparql/getCollectionMembers.js
+++ b/frontend/sparql/getCollectionMembers.js
@@ -7,7 +7,7 @@ SELECT ?uri
?type
?sbolType
?role
-FROM <$graphs>
+$from
WHERE { {
SELECT DISTINCT ?uri
?displayId