Skip to content

Commit

Permalink
Tweak after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
VikaCep committed Mar 6, 2023
1 parent 491bd33 commit 158e721
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ export const QueryAndExpressionsStep: FC<Props> = ({ editingExistingRule, onData
{...field}
dataSourceName={dataSourceName}
showPreviewAlertsButton={!isRecordingRuleType}
asyncDefaultQuery={asyncDefaultQueries?.[0]}
preservePreviousValue={!updateWithDefault}
/>
);
}}
Expand Down
1 change: 1 addition & 0 deletions public/app/features/alerting/unified/utils/rule-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
} from '@grafana/data';
import { getDataSourceSrv } from '@grafana/runtime';
import { ExpressionDatasourceRef } from '@grafana/runtime/src/utils/DataSourceWithBackend';
import { DataSourceJsonData } from '@grafana/schema';
import { getNextRefIdChar } from 'app/core/utils/query';
import { DashboardModel, PanelModel } from 'app/features/dashboard/state';
import { ExpressionDatasourceUID } from 'app/features/expressions/ExpressionDatasource';
Expand Down

0 comments on commit 158e721

Please sign in to comment.