Skip to content

Commit c4ed2d9

Browse files
committed
Update environment dashboard modus names #34
1 parent a59bd9e commit c4ed2d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

static/js/terrariumpi.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ function update_weather(data) {
408408
}
409409

410410
function update_dashboard_environment(name, value) {
411-
var mode_translations = {'sensor' : '{{_('Sensor')}}'.toLowerCase(),
412-
'weather':'{{_('Weather')}}'.toLowerCase(),
413-
'timer':'{{_('Timer')}}'.toLowerCase()};
411+
var mode_translations = {'sensor' : '{{_('Sensor')}}',
412+
'weather':'{{_('Weather')}}',
413+
'timer':'{{_('Timer')}}'};
414414
var systempart = $('div.environment_' + name);
415415
if (systempart.length === 0 || Object.keys(value).length === 0 || !value.enabled) {
416416
systempart.find('table.tile_info').hide();

0 commit comments

Comments
 (0)