Alert mode to filter only planets that need an action

This commit is contained in:
Calli
2023-10-21 07:52:56 +03:00
parent e69e65059e
commit 77da81efea
7 changed files with 77 additions and 15 deletions

View File

@@ -18,6 +18,7 @@ import { GitHubButton } from "../Github/GitHubButton";
import { LoginButton } from "../Login/LoginButton";
import { PlanModeButton } from "../PlanModeButton/PlanModeButton";
import { SettingsButton } from "../Settings/SettingsButtons";
import { AlertModeButton } from "../AlertModeButton/AlertModeButton";
function ResponsiveAppBar() {
const [anchorElNav, setAnchorElNav] = React.useState<null | HTMLElement>(
@@ -111,6 +112,9 @@ function ResponsiveAppBar() {
<MenuItem onClick={handleCloseNavMenu}>
<PlanModeButton />
</MenuItem>
<MenuItem onClick={handleCloseNavMenu}>
<AlertModeButton />
</MenuItem>
</Menu>
</Box>
<PublicIcon sx={{ display: { xs: "flex", md: "none" }, mr: 1 }} />
@@ -149,6 +153,7 @@ function ResponsiveAppBar() {
<SettingsButton />
<CompactModeButton />
<PlanModeButton />
<AlertModeButton />
</Box>
</Toolbar>
</Container>