fixed the bug of docked south wasnt filtering after clicking on the active alarm and navigating
This commit is contained in:
parent
ae38f1a21c
commit
630708b9ae
@ -1,18 +1,32 @@
|
|||||||
{
|
{
|
||||||
"custom": {
|
"custom": {
|
||||||
"MCM": "",
|
"MCM": 1,
|
||||||
"currentTable": "ACTIVE"
|
"currentTable": "ACTIVE",
|
||||||
|
"page": "",
|
||||||
|
"view": ""
|
||||||
},
|
},
|
||||||
"params": {},
|
"params": {},
|
||||||
"propConfig": {
|
"propConfig": {
|
||||||
"custom.MCM": {
|
"custom.MCM": {
|
||||||
|
"binding": {
|
||||||
|
"config": {
|
||||||
|
"expression": "if({view.custom.view} !\u003d \"\", {view.custom.view}, {view.custom.page})"
|
||||||
|
},
|
||||||
|
"type": "expr"
|
||||||
|
},
|
||||||
|
"persistent": true
|
||||||
|
},
|
||||||
|
"custom.currentTable": {
|
||||||
|
"persistent": true
|
||||||
|
},
|
||||||
|
"custom.page": {
|
||||||
"binding": {
|
"binding": {
|
||||||
"config": {
|
"config": {
|
||||||
"path": "page.props.path"
|
"path": "page.props.path"
|
||||||
},
|
},
|
||||||
"transforms": [
|
"transforms": [
|
||||||
{
|
{
|
||||||
"code": "\tpath \u003d value\n\ttry:\n\t\tif \"MCM\" in path:\n\t\t\tindex \u003d path.find(\"MCM\")\n\t\t\treturn path[index:index+5] # MCM + 2 digits\n\texcept:\n\t\t\tpass\n\treturn \"\"\n\t",
|
"code": "\ttry:\n\t\tif \"MCM\" in value:\n\t\t\tindex \u003d value.find(\"MCM\")\n\t\t\treturn value[index:index+5] # MCM + 2 digits\n\texcept:\n\t\t\tpass\n\treturn \"\"",
|
||||||
"type": "script"
|
"type": "script"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -20,7 +34,19 @@
|
|||||||
},
|
},
|
||||||
"persistent": true
|
"persistent": true
|
||||||
},
|
},
|
||||||
"custom.currentTable": {
|
"custom.view": {
|
||||||
|
"binding": {
|
||||||
|
"config": {
|
||||||
|
"path": "page.props.primaryView"
|
||||||
|
},
|
||||||
|
"transforms": [
|
||||||
|
{
|
||||||
|
"code": "\ttry:\n\t\tif \"MCM\" in value:\n\t\t\tindex \u003d value.find(\"MCM\")\n\t\t\treturn value[index:index+5] # MCM + 2 digits\n\texcept:\n\t\t\tpass\n\treturn \"\"",
|
||||||
|
"type": "script"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "property"
|
||||||
|
},
|
||||||
"persistent": true
|
"persistent": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user