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", "ts",
192, 192,
1747671282220 1747672706122
], ],
"$ts": 1747671282219 "$ts": 1747672706122
} }
} }
}, },
@ -446,14 +446,39 @@
"meta": { "meta": {
"name": "Icon_1", "name": "Icon_1",
"tooltip": { "tooltip": {
"enabled": true, "enabled": true
"text": "Database Connection Status"
} }
}, },
"position": { "position": {
"basis": "30px" "basis": "30px"
}, },
"propConfig": { "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": { "props.color": {
"binding": { "binding": {
"config": { "config": {