+
+ Your alert rule could not be restored. This may be due to changes to other entities such as contact
+ points, data sources etc. Please manually restore the deleted rule by editing the rule and saving it.
+
+
+ {stringifyErrorLike(error)}
+
+
+ )}
+
+ }
+ onConfirm={!error ? onRestoreConfirm : onManualRestore}
+ onDismiss={onDismiss}
+ />
+ );
+};
+
+function RulePreview({ rule }: { rule: RulerRuleDTO }) {
+ const styles = useStyles2(getStyles);
+ return (
+