make tags visible on public collections

This commit is contained in:
daniel31x13
2024-11-02 18:16:38 -04:00
parent d86bbcd940
commit 2e1e94112f
6 changed files with 102 additions and 127 deletions
@@ -130,31 +130,6 @@ 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>
<p className="mb-2">{t("sharable_link")}</p>