fix: Actually add the enable and disable toggles

This commit is contained in:
Nathan Woodburn 2025-01-29 14:42:19 +11:00
parent e506b6bbdd
commit beabde2fad
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -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"
}
}
} }
} }