- {auth.hasCapability(Capability.addingParents) && (
-
-
-
-
-
-
-
-
-
- )}
-
-
-
-
-
-
- {getSharingModeHint()}
-
-
- {shareWith === "single" ? (
-
-
- item
- .toLowerCase()
- .indexOf(
- group.toLowerCase()
- ) !== -1
- )}
- onChange={(value) => setGroup(value)}
- className="form-control"
- style={{ fontSize: "medium" }}
- placeholder="Type group name..."
- prependChildren
- >
-
-
-
-
-
- ) : (
- []
- )}
- {attributes.length > 0 ? (
-
-
Attributes
-
- {attributes.map((attr, idx) => (
-
- {attr.key} |
-
- {typeof attr.value ===
- "string" ? (
- attr.value
- ) : (
-
- {"(object)"}{" "}
- {JSON.stringify(
- attr.value,
- null,
- 4
- )}
-
- )}
- |
-
-
- onAttributeRemove(idx)
- }
- />
- |
-
- ))}
-
-
- ) : (
- []
- )}
-
-
-
-
- setShare3rdParty(!share3rdParty)
- }
- />
-
-
-
-
-
-
-
setAttributeModalOpen(true)}
- />
-
-