• Zack Cuddy's avatar
    Refactor Confirm Modal · 6382b1ea
    Zack Cuddy authored
    Currently we had overly compllicated logic
    between the JS hook and Vue component for
    firing the modal.
    
    This MR simplifies that logic by moving the DOM
    listeners into the Vue component itself.
    
    This way we no longer need to do prop management
    from the JS hooks and instead just have all our
    logic of showing, hiding, updating, and using
    the modal in one place.
    6382b1ea
confirm_modal_spec.js 3.04 KB