Tags in public collection
This commit is contained in:
@@ -125,6 +125,32 @@ export default function EditCollectionSharingModal({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{permissions === true && collection.isPublic && (
|
||||
<div>
|
||||
<p>Show tags in public collection</p>
|
||||
|
||||
<label className="label cursor-pointer justify-start gap-2">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={collection.tagsArePublic}
|
||||
onChange={() =>
|
||||
setCollection({
|
||||
...collection,
|
||||
tagsArePublic: !collection.tagsArePublic,
|
||||
})
|
||||
}
|
||||
className="checkbox checkbox-primary"
|
||||
/>
|
||||
<span className="label-text">Show tags in public collection</span>
|
||||
</label>
|
||||
|
||||
<p className="text-neutral text-sm">
|
||||
This will let <b>Anyone</b> view this collections tags and search
|
||||
this collections links by them.
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{collection.isPublic ? (
|
||||
<div className={permissions === true ? "pl-5" : ""}>
|
||||
<p className="mb-2">Sharable Link (Click to copy)</p>
|
||||
|
||||
Reference in New Issue
Block a user