title: Bootstrap Modal Hide is not working at Laravel 7
body: <p>I try to close the automatic capital when I click "ok" after a successful upload of data, but when I click "ok" the capital does not close / hide</p>
  
  <p>this is my blade</p>
  
  <pre><code>complete:function(res){
                  console.log(res);
                  if(res.responseJSON !== undefined){
                      if(res.responseJSON.status === true){
                          table.ajax.reload();
                          Swal.fire({
                              title:'Success',
                              text:res.responseJSON.messages,
                              icon:'success'
                          }).then((done)=&gt;{
                              if (done) {
                                  resetForm() 
                                  $("my-modal").modal("hide")
                                  table.ajax.reload();
                              }
                          })
                      } else {
  </code></pre>