mirror of
https://github.com/pi-hole/web.git
synced 2026-04-26 11:50:09 +01:00
If no unit is set on setupVars, try to use localstorage value, if exists
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -110,7 +110,8 @@ function getTemperature()
|
||||
$unit = 'C';
|
||||
}
|
||||
} else {
|
||||
$unit = 'C';
|
||||
// no value is set in setupVars.conf
|
||||
$unit = '';
|
||||
}
|
||||
|
||||
return array($celsius, $limit, $unit);
|
||||
|
||||
Reference in New Issue
Block a user