From ae1ae64b241a16f3c8bcb33ed569dcd1a5dbf2e4 Mon Sep 17 00:00:00 2001 From: jgould Date: Mon, 1 Aug 2016 15:39:33 -0400 Subject: [PATCH] add method to conditions --- src/ui/heat_map_color_scheme.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/heat_map_color_scheme.js b/src/ui/heat_map_color_scheme.js index f6a09e9..c0746a1 100644 --- a/src/ui/heat_map_color_scheme.js +++ b/src/ui/heat_map_color_scheme.js @@ -261,6 +261,9 @@ morpheus.HeatMapConditions.prototype = { insert: function (index, c) { this.conditions.splice(index, 0, c); }, + add: function (c) { + this.conditions.push(c); + }, getConditions: function () { return this.conditions; }, -- GitLab