Skip to content
Snippets Groups Projects
Commit aad64f3b authored by Guilherme Eduardo's avatar Guilherme Eduardo
Browse files

Issue #297: UPDATE character limit on resources page

parent ca0b3f60
Branches
No related tags found
1 merge request!273Issue 297/update character limit resources page
Pipeline #41930 passed
...@@ -23,7 +23,7 @@ export default function ShareButton({ type, id }) { ...@@ -23,7 +23,7 @@ export default function ShareButton({ type, id }) {
aria-label="Compartilhar" aria-label="Compartilhar"
> >
<ShareOutlinedIcon fontSize="small" /> <ShareOutlinedIcon fontSize="small" />
<span className="hidden md:inline">Compartilhar perfil</span> <span className="hidden md:inline">Compartilhar</span>
</button> </button>
<ShareModal <ShareModal
open={shareOpen} open={shareOpen}
......
...@@ -64,7 +64,7 @@ export default function GroupButton({ profileData, idLogin }) { ...@@ -64,7 +64,7 @@ export default function GroupButton({ profileData, idLogin }) {
function shareLink(url) { function shareLink(url) {
if (navigator.share) { if (navigator.share) {
navigator.share({ navigator.share({
title: "Compartilhar perfil", title: "Compartilhar",
url: url, url: url,
}) })
.then(() => console.log("Compartilhamento realizado com sucesso")) .then(() => console.log("Compartilhamento realizado com sucesso"))
......
...@@ -62,9 +62,9 @@ export default function AuthorSelection({ selectedValue, handleRadioChange, auth ...@@ -62,9 +62,9 @@ export default function AuthorSelection({ selectedValue, handleRadioChange, auth
value={author} value={author}
onChange={handleAuthorChange} onChange={handleAuthorChange}
helperText={<div className=" w-full justify-end flex"> helperText={<div className=" w-full justify-end flex">
{author?.length}/100 {author?.length}/255
</div>} </div>}
error={author?.length > 100} error={author?.length > 255}
className="mb-5" className="mb-5"
/> />
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment