mirror of
https://github.com/getredash/redash.git
synced 2026-05-09 03:03:08 -04:00
Fix: Chart type resets to Date/Time when editing #186
This commit is contained in:
@@ -101,6 +101,8 @@
|
||||
}
|
||||
});
|
||||
|
||||
scope.xAxisType = (scope.visualization.options.xAxis && scope.visualization.options.xAxis.type) || scope.xAxisType;
|
||||
|
||||
xAxisUnwatch = scope.$watch("xAxisType", function (xAxisType) {
|
||||
scope.visualization.options.xAxis = scope.visualization.options.xAxis || {};
|
||||
scope.visualization.options.xAxis.type = xAxisType;
|
||||
|
||||
Reference in New Issue
Block a user