-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import snapshot to current case #727
Conversation
This operation WILL override your existing information needs. Proceed with caution! | ||
</span> | ||
<span ng-show="ctrl.snapshotsTypePicked()"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so, do we override? or do we just create missing queries?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good question!
@@ -23,23 +24,32 @@ angular.module('QuepidApp') | |||
size: 'lg', | |||
resolve: { | |||
theCase: function() { | |||
return ctrl.acase; | |||
return caseSvc.getSelectedCase(); //TODO not sure why this is needed for import snapshot to work? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's see if this is STILL needed... or can we go back to return ctrl.acase
return ctrl.acase; | ||
return caseSvc.getSelectedCase(); //TODO not sure why this is needed for import snapshot to work? | ||
}, | ||
querySnapshotSvc: function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not positive, but because of dependency injection, I don't think you need htise... they are injected into the modal controller directly...
Description
Motivation and Context
How Has This Been Tested?
Screenshots or GIFs (if appropriate):
Types of changes
Checklist: