nss-evening-cohort-10 / nutshell-nautilus-explorer

0 stars 0 forks source link

Destinations-Add #29

Closed aleshakay closed 4 years ago

aleshakay commented 4 years ago

User Story

As a user, I should be able to add possible destinations.

AC

Dev Notes


  e.stopImmediatePropagation();
  const newDestination = {
     name: $('#').val(),
    environment: $('#').val(),
    description: $('#').val(), 

  };
.then(() => {
      $('#exampleModal').modal('hide');
      // eslint-disable-next-line no-use-before-define
      destinationBuilder(id);
    })
    .catch((error) => console.error(error));```
* add the click event in destinationBuilder
aleshakay commented 4 years ago

image