mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 14:14:12 +01:00
fix ident
This commit is contained in:
@@ -61,7 +61,7 @@ with open(os.path.join(__location__, "../../../ip-symcon", "icon_mapping.php"),
|
||||
function get_icon($name) {
|
||||
global $icons;
|
||||
if (strpos('text:', $name) !== false) {
|
||||
return str_replace('text:', "", $name);
|
||||
return str_replace('text:', "", $name);
|
||||
}
|
||||
$ma_name = str_replace('mdi:', "", $name);
|
||||
if (array_key_exists($ma_name, $icons)) {
|
||||
|
||||
@@ -6901,7 +6901,7 @@ $icons = [
|
||||
function get_icon($name) {
|
||||
global $icons;
|
||||
if (strpos('text:', $name) !== false) {
|
||||
return str_replace('text:', "", $name);
|
||||
return str_replace('text:', "", $name);
|
||||
}
|
||||
$ma_name = str_replace('mdi:', "", $name);
|
||||
if (array_key_exists($ma_name, $icons)) {
|
||||
|
||||
Reference in New Issue
Block a user