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

Issue #364: FIX empty collection name

parent 5d355130
No related branches found
No related tags found
No related merge requests found
Pipeline #42816 failed
......@@ -60,6 +60,11 @@ export default function EditCollectionModal({ open, onClose, collectionId, colle
return;
}
if (name.length === 0) {
alert("Nome da coleção não pode estar vazia. ");
return;
}
const payload = {
collection: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment