fix: Actually add the enable and disable toggles
This commit is contained in:
parent
e506b6bbdd
commit
beabde2fad
@ -25,6 +25,32 @@ functions = {
|
|||||||
"type": "text"
|
"type": "text"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"enable": {
|
||||||
|
"name": "Enable Dashboard widget",
|
||||||
|
"type": "default",
|
||||||
|
"description": "Enable the dashboard widget",
|
||||||
|
"params": {},
|
||||||
|
"returns": {
|
||||||
|
"result":
|
||||||
|
{
|
||||||
|
"name": "Result",
|
||||||
|
"type": "text"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"disable": {
|
||||||
|
"name": "Disable Dashboard widget",
|
||||||
|
"type": "default",
|
||||||
|
"description": "Disable the dashboard widget",
|
||||||
|
"params": {},
|
||||||
|
"returns": {
|
||||||
|
"result":
|
||||||
|
{
|
||||||
|
"name": "Result",
|
||||||
|
"type": "text"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user