mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Bumps prettier version for new typescript syntax support (#20463)
* Chore: Bumps prettier version for new typescript syntax support * Ran new version of prettier against the codebase
This commit is contained in:
@@ -150,9 +150,4 @@ const mapDispatchToProps = {
|
||||
togglePauseAlertRule,
|
||||
};
|
||||
|
||||
export default hot(module)(
|
||||
connect(
|
||||
mapStateToProps,
|
||||
mapDispatchToProps
|
||||
)(AlertRuleList)
|
||||
);
|
||||
export default hot(module)(connect(mapStateToProps, mapDispatchToProps)(AlertRuleList));
|
||||
|
||||
@@ -217,9 +217,4 @@ export const mapStateToProps = (state: StoreState) => ({});
|
||||
|
||||
const mapDispatchToProps = { changePanelEditorTab };
|
||||
|
||||
export const AlertTab = hot(module)(
|
||||
connect(
|
||||
mapStateToProps,
|
||||
mapDispatchToProps
|
||||
)(UnConnectedAlertTab)
|
||||
);
|
||||
export const AlertTab = hot(module)(connect(mapStateToProps, mapDispatchToProps)(UnConnectedAlertTab));
|
||||
|
||||
@@ -33,7 +33,10 @@ const evalFunctions = [
|
||||
{ text: 'HAS NO VALUE', value: 'no_value' },
|
||||
];
|
||||
|
||||
const evalOperators = [{ text: 'OR', value: 'or' }, { text: 'AND', value: 'and' }];
|
||||
const evalOperators = [
|
||||
{ text: 'OR', value: 'or' },
|
||||
{ text: 'AND', value: 'and' },
|
||||
];
|
||||
|
||||
const reducerTypes = [
|
||||
{ text: 'avg()', value: 'avg' },
|
||||
@@ -55,7 +58,10 @@ const noDataModes = [
|
||||
{ text: 'Ok', value: 'ok' },
|
||||
];
|
||||
|
||||
const executionErrorModes = [{ text: 'Alerting', value: 'alerting' }, { text: 'Keep Last State', value: 'keep_state' }];
|
||||
const executionErrorModes = [
|
||||
{ text: 'Alerting', value: 'alerting' },
|
||||
{ text: 'Keep Last State', value: 'keep_state' },
|
||||
];
|
||||
|
||||
function createReducerPart(model: any) {
|
||||
const def = new QueryPartDef({ type: model.type, defaultParams: [] });
|
||||
|
||||
Reference in New Issue
Block a user