Publish message button
This commit is contained in:
parent
73349cd423
commit
d9c3c20350
1 changed files with 6 additions and 2 deletions
|
@ -19,7 +19,7 @@ import routes from "./routes";
|
||||||
import {ConnectionState} from "../app/Connection";
|
import {ConnectionState} from "../app/Connection";
|
||||||
import {useLocation, useNavigate} from "react-router-dom";
|
import {useLocation, useNavigate} from "react-router-dom";
|
||||||
import subscriptionManager from "../app/SubscriptionManager";
|
import subscriptionManager from "../app/SubscriptionManager";
|
||||||
import {ChatBubble, NotificationsOffOutlined} from "@mui/icons-material";
|
import {ChatBubble, NotificationsOffOutlined, Send} from "@mui/icons-material";
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
import notifier from "../app/Notifier";
|
import notifier from "../app/Notifier";
|
||||||
import config from "../app/config";
|
import config from "../app/config";
|
||||||
|
@ -118,9 +118,13 @@ const NavList = (props) => {
|
||||||
<ListItemIcon><ArticleIcon/></ListItemIcon>
|
<ListItemIcon><ArticleIcon/></ListItemIcon>
|
||||||
<ListItemText primary="Documentation"/>
|
<ListItemText primary="Documentation"/>
|
||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
|
<ListItemButton onClick={() => setSubscribeDialogOpen(true)}>
|
||||||
|
<ListItemIcon><Send/></ListItemIcon>
|
||||||
|
<ListItemText primary="Publish message"/>
|
||||||
|
</ListItemButton>
|
||||||
<ListItemButton onClick={() => setSubscribeDialogOpen(true)}>
|
<ListItemButton onClick={() => setSubscribeDialogOpen(true)}>
|
||||||
<ListItemIcon><AddIcon/></ListItemIcon>
|
<ListItemIcon><AddIcon/></ListItemIcon>
|
||||||
<ListItemText primary="Add subscription"/>
|
<ListItemText primary="Subscribe to topic"/>
|
||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
</List>
|
</List>
|
||||||
<SubscribeDialog
|
<SubscribeDialog
|
||||||
|
|
Loading…
Reference in a new issue