Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit bf7237a

Browse files
authored
Deprecate Message on alerts for standalone (#420)
1 parent 5728b53 commit bf7237a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pages/Stream/Views/Manage/Alerts.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ const Alerts = (props: {
674674
setAlertModalOpen(false);
675675
}, []);
676676

677-
const hideAlerts = !props.hasAlertsAccess || props.isStandAloneMode === false;
677+
const hideAlerts = true;
678678

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

0 commit comments

Comments
 (0)