vue-components/connection-list/component.js
/**
     * Used to start creating a new connection by opening the modal.
     */
Used to start creating a new connection by opening the modal.
Used to start creating a new connection by opening the modal .
startNewConn() {
      const {currentConn} = this;
      for (const key of Object.keys(currentConn)) {
        currentConn[key] = null;
      }
      currentConn.uuid = utils.uuidv4();
      currentConn.queries = [];
      this.selectedConnIndex = -1;
      this.isEditingConn = true;
    }
startNewConn ( ) { const { currentConn } = this ; for ( const key of Object . keys ( currentConn ) ) { currentConn [ key ] = null ; } currentConn . uuid = utils . uuidv4 ( ) ; currentConn . queries = [ ] ; this . selectedConnIndex = - 1 ; this . isEditingConn = true ; }
Used to start creating a new connection by opening the modal.
Used to start creating a new connection by opening the modal .
// Blank out all of the fields.