Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/pages/Stream/Views/Manage/Alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ const Alerts = (props: {
setAlertModalOpen(false);
}, []);

const hideAlerts = !props.hasAlertsAccess || props.isStandAloneMode === false;
const hideAlerts = true;

return (
<Stack className={classes.sectionContainer} gap={0} style={{ flex: 1 }}>
Expand All @@ -683,7 +683,9 @@ const Alerts = (props: {
{props.isError ? (
<ErrorView />
) : hideAlerts ? (
<RestrictedView msg={!props.isStandAloneMode ? 'Alerts is unavailable on distributed mode.' : ''} />
<RestrictedView
msg={'Alerts are deprecated. \n New way to set alerts will be available in the next release.'}
/>
) : (
<AlertList
selectAlert={selectAlert}
Expand Down
Loading