mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Create table for silences * Style table to figma designs * Add rules table to silences * Rebase with new rules table * Remove redundant reducer * fetch alertmanager alerts (#33142) * fetch alertmanager alerts * show the alerts json * Use matching alerts from alertmanager api * Add handle to expire silence * Get silenced alerts closer to figma designs * fix expire silence endpoint typo * Style affected alerts table * Add default empty string for alertmanager source Co-authored-by: Domas <domasx2@gmail.com>
13 lines
394 B
TypeScript
13 lines
394 B
TypeScript
import EmptyListCTA from 'app/core/components/EmptyListCTA/EmptyListCTA';
|
|
import React, { FC } from 'react';
|
|
import { config } from '@grafana/runtime';
|
|
|
|
export const NoSilencesSplash: FC = () => (
|
|
<EmptyListCTA
|
|
title="You haven't created any silences yet"
|
|
buttonIcon="bell-slash"
|
|
buttonLink={`${config.appSubUrl ?? ''}alerting/silences/new`}
|
|
buttonTitle="New silence"
|
|
/>
|
|
);
|