Fix controls issue.

This commit is contained in:
Dermot Duffy
2023-08-09 21:26:12 -07:00
parent d9b2b4d4d8
commit 330f927fdb
4 changed files with 11 additions and 6 deletions
+4 -1
View File
@@ -53,7 +53,10 @@ class ActionHandler extends HTMLElement implements ActionHandler {
});
}
public bind(element: ActionHandlerElement, options): void {
public bind(
element: ActionHandlerElement,
options: FrigateCardActionHandlerOptions,
): void {
if (element.actionHandlerOptions) {
// Reset the options on an existing actionHandler.
element.actionHandlerOptions = options;