TAMULib / SAGE

Search Aggregation Engine
MIT License
6 stars 3 forks source link

Clear values upon closing is resolved using angular.copy(). #504

Closed rmathew1011 closed 1 year ago

rmathew1011 commented 1 year ago

Description

It uses the original values which is shared in the modal, which is not desirable. Upon clicking the X or the Cancel button, the original model value is updated, so utilized the copy() to resolve this behavior.

Fixes #480

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

coveralls commented 1 year ago

Coverage Status

Coverage: 45.242% (+0.03%) from 45.217% when pulling fa73dd44d6f751d4c6ae65d80351d11405001cc6 on 480-update-modal-clear-values into b9bca09787babe73b5070fe572bd524e45b59adf on staging.