modified tooltip

This commit is contained in:
gugak 2025-05-19 20:40:54 +04:00
parent 5092681d92
commit 74b6af0a7a

View File

@ -6,9 +6,9 @@
"$": [
"ts",
192,
1747671282220
1747672706122
],
"$ts": 1747671282219
"$ts": 1747672706122
}
}
},
@ -446,14 +446,39 @@
"meta": {
"name": "Icon_1",
"tooltip": {
"enabled": true,
"text": "Database Connection Status"
"enabled": true
}
},
"position": {
"basis": "30px"
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "{[System]Gateway/Database/MariaDB/Available}"
},
"transforms": [
{
"fallback": "Database Connection Status: LOST",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "Database Connection Status: GOOD"
},
{
"input": false,
"output": "Database Connection Status: LOST"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "expr"
}
},
"props.color": {
"binding": {
"config": {