ui.js
/**
     * If unsaved, call this method to discard changes (from the unsaved modal)
     */
If unsaved, call this method to discard changes (from the unsaved modal)
If unsaved call this method to discard changes ( from the unsaved modal )
discard() {
        this.force = true;
        this.state = this.section();
        window.history.go(-this.discardSteps);
    }
discard ( ) { this . force = true ; this . state = this . section ( ) ; window . history . go ( - this . discardSteps ) ; }
If unsaved, call this method to discard changes (from the unsaved modal)
If unsaved call this method to discard changes ( from the unsaved modal )