diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js index 4e521bc85..68bbe5832 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Alert/AlertMenu.js @@ -16,6 +16,7 @@ import { faCaretDown } from "@fortawesome/free-solid-svg-icons/faCaretDown"; import { faBellSlash } from "@fortawesome/free-solid-svg-icons/faBellSlash"; import { FetchPauser } from "Components/FetchPauser"; +import { DropdownSlide } from "Components/Animations/DropdownSlide"; const onSilenceClick = (silenceFormStore, group, alert) => { silenceFormStore.data.resetProgress(); @@ -127,7 +128,7 @@ const AlertMenu = observer( )} - {this.collapse.value ? null : ( + )} - )} + ); } diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/GroupHeader/GroupMenu.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/GroupHeader/GroupMenu.js index 81244998c..57492a20e 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/GroupHeader/GroupMenu.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/GroupHeader/GroupMenu.js @@ -16,6 +16,7 @@ import { faBellSlash } from "@fortawesome/free-solid-svg-icons/faBellSlash"; import { FormatAPIFilterQuery } from "Stores/AlertStore"; import { QueryOperators, StaticLabels, FormatQuery } from "Common/Query"; +import { DropdownSlide } from "Components/Animations/DropdownSlide"; import { FetchPauser } from "Components/FetchPauser"; const onSilenceClick = (silenceFormStore, group) => { @@ -123,7 +124,7 @@ const GroupMenu = observer( )} - {this.collapse.value ? null : ( + )} - )} + ); } diff --git a/ui/src/Components/NavBar/FilterInput/History.js b/ui/src/Components/NavBar/FilterInput/History.js index bb5327516..03a4eb498 100644 --- a/ui/src/Components/NavBar/FilterInput/History.js +++ b/ui/src/Components/NavBar/FilterInput/History.js @@ -19,6 +19,7 @@ import { faTrash } from "@fortawesome/free-solid-svg-icons/faTrash"; import { AlertStore } from "Stores/AlertStore"; import { Settings } from "Stores/Settings"; +import { DropdownSlide } from "Components/Animations/DropdownSlide"; import { HistoryLabel } from "Components/Labels/HistoryLabel"; import "./History.css"; @@ -249,7 +250,7 @@ const History = observer( )} - {this.collapse.value ? null : ( + )} - )} + ); }