Commit ce6050f5 by bergquist

fix(graphite): jsonData is not always present.

parent 40c008f8
......@@ -9,6 +9,7 @@ export class GraphiteConfigCtrl {
/** @ngInject */
constructor($scope) {
this.current.jsonData = this.current.jsonData || {};
this.current.jsonData.graphiteVersion = this.current.jsonData.graphiteVersion || '0.9';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment