-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix auto-select in agg type selection (#11105)
* Fix auto-select in agg type selection This commit moves the $scope.$watch in the agg type selector to AFTER the code that watches for changes. This matters because in some cases, the agg type can be automatically selected, and if the $watch starts AFTER the agg type is automatically selected, the watch is triggered with the same old/new values, which means the params won't be correctly initialized. * Move to functions and add explanation
- Loading branch information
1 parent
3fc88df
commit cea1b39
Showing
1 changed file
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters