Skip to content

Commit

Permalink
fix(ui): TE-2493 show side nav on view alert page (#1622)
Browse files Browse the repository at this point in the history
Co-authored-by: Nalin Patidar <[email protected]>
  • Loading branch information
nalin-patidar and Nalin Patidar authored Oct 24, 2024
1 parent 4efe405 commit 0919f3a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,17 @@ import {
} from "./alerts-view-page.utils";
import { useFetchQuery } from "../../rest/hooks/useFetchQuery";
import { AlertAddConfigurationModal } from "../../components/alert-add-configuration-modal/alert-add-configration-modal.component";
import { useAppBarConfigProvider } from "../../components/app-bar/app-bar-config-provider/app-bar-config-provider.component";

export const AlertsViewPage: FunctionComponent = () => {
const { t } = useTranslation();
const { notify, remove: removeNotification } = useNotificationProviderV1();
const { id: alertId } = useParams<AlertsViewPageParams>();
const { setShowAppNavBar } = useAppBarConfigProvider();

useEffect(() => {
setShowAppNavBar(true);
}, []);

// Used for the scenario when user first creates an alert but no anomalies generated yet
const [refreshAttempts, setRefreshAttempts] = useState(0);
Expand Down

0 comments on commit 0919f3a

Please sign in to comment.