Skip to content

Commit

Permalink
Merge pull request #511 from CodingFactory-Repos/develop-G2
Browse files Browse the repository at this point in the history
Develop g2
  • Loading branch information
Loule95450 committed Jun 16, 2023
2 parents e00a7ae + 0fdfafa commit 6e35a7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const link = ref('');
// Function to post the data to the API
const addDocument = async (id) => {
// add verification if all the fields are filled
if (!name.value || !link.value || !base64String) {
if (!name.value || !link.value) {
Swal.fire({
title: 'You have to fill all the fields',
text: 'Please fill all the fields to add a new document',
Expand Down

0 comments on commit 6e35a7c

Please sign in to comment.