From cfaa4366b3f39431a21e2838866e4eace37bd0ad Mon Sep 17 00:00:00 2001 From: Matias Chomicki Date: Wed, 20 Nov 2024 16:51:20 +0100 Subject: [PATCH] Query builder: update title when operation is disbled --- src/VisualQueryBuilder/components/OperationHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VisualQueryBuilder/components/OperationHeader.tsx b/src/VisualQueryBuilder/components/OperationHeader.tsx index 41aa24b..bc0e2d2 100644 --- a/src/VisualQueryBuilder/components/OperationHeader.tsx +++ b/src/VisualQueryBuilder/components/OperationHeader.tsx @@ -66,7 +66,7 @@ export const OperationHeader = React.memo( onClick={() => onToggle(index)} fill="text" variant="secondary" - title="Disable operation" + title={operation.disabled ? "Enable operation" : "Disable operation"} /> )}