Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
gtk-grafana committed Dec 20, 2024
1 parent 051229a commit ced54ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/scenes/src/variables/adhoc/AdHocFiltersVariable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class AdHocFiltersVariable
filters: AdHocFilterWithLabels[],
options?: {
skipPublish?: boolean;
forcePublish?: boolean
forcePublish?: boolean;
}
): void {
let filterExpressionChanged = false;
Expand All @@ -229,7 +229,7 @@ export class AdHocFiltersVariable
filterExpression,
});

if (filterExpressionChanged && options?.skipPublish !== true || options?.forcePublish) {
if ((filterExpressionChanged && options?.skipPublish !== true) || options?.forcePublish) {
this.publishEvent(new SceneVariableValueChangedEvent(this), true);
}
}
Expand Down

0 comments on commit ced54ec

Please sign in to comment.