Skip to content

Commit

Permalink
Update chart legend
Browse files Browse the repository at this point in the history
  • Loading branch information
gilyes committed Feb 23, 2019
1 parent 8adccae commit 86d95b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions app/app/containers/App/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ const createTNGForDisplaySelector = () => createSelector(
if (!tng) {
return {};
}
// for display remove the total
const tngForDisplay = JSON.parse(JSON.stringify(tng));
delete tngForDisplay.total;

const tngForDisplay = { "Coal": tng.coal, "Gas": tng.gas, "Hydro": tng.hydro, "Wind": tng.wind, "Solar/Other": tng.other };
return tngForDisplay;
}
);
Expand Down
4 changes: 2 additions & 2 deletions env-impact-comparison.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin Name: env-impact-comparison
* Plugin URI: https://github.com/gilyes/env-impact-comparison
* Description: Vehicle environmental impact comparison view.
* Version: 1.1.1
* Version: 1.2
* Author: George Ilyes
* Author URI: https://gilyes.com
* License: GPL-2.0+
Expand All @@ -19,7 +19,7 @@
die;
}

define('PLUGIN_NAME_VERSION', '1.1.1');
define('PLUGIN_NAME_VERSION', '1.2');

function activate_env_impact_comparison()
{
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Displays and compares the environmental impact of various electric and gas vehic

== Changelog ==

= 1.2 =
* Updated chart legend.

= 1.1.1 =
* Changed order of electricity rate and fuel cost fields.

Expand Down

0 comments on commit 86d95b3

Please sign in to comment.