Skip to content

Commit

Permalink
feat: remove send test notification options
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jun 30, 2024
1 parent 41159ce commit d24e952
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions web/src/components/Messaging.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ const MessageBar = (props) => {
backgroundColor: (theme) => (theme.palette.mode === "light" ? theme.palette.grey[100] : theme.palette.grey[900]),
}}
>
<IconButton color="inherit" size="large" edge="start" onClick={props.onOpenDialogClick} aria-label={t("message_bar_show_dialog")}>
{/* <IconButton color="inherit" size="large" edge="start" onClick={props.onOpenDialogClick} aria-label={t("message_bar_show_dialog")}>
<KeyboardArrowUpIcon />
</IconButton>
<TextField
</IconButton> */}
{/* <TextField
autoFocus
margin="dense"
placeholder={t("message_bar_type_message")}
Expand All @@ -120,10 +120,10 @@ const MessageBar = (props) => {
}
}}
onPaste={handlePaste}
/>
<IconButton color="inherit" size="large" edge="end" onClick={handleSendClick} aria-label={t("message_bar_publish")}>
/> */}
{/* <IconButton color="inherit" size="large" edge="end" onClick={handleSendClick} aria-label={t("message_bar_publish")}>
<SendIcon />
</IconButton>
</IconButton> */}
<Portal>
<Snackbar
open={snackOpen}
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/SubscriptionPopup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,12 @@ export const SubscriptionPopup = (props) => {
{t("action_bar_reservation_delete")}
</MenuItem>
)}
<MenuItem onClick={handleSendTestMessage}>
{/* <MenuItem onClick={handleSendTestMessage}>
<ListItemIcon>
<Send fontSize="small" />
</ListItemIcon>
{t("action_bar_send_test_notification")}
</MenuItem>
</MenuItem> */}
<MenuItem onClick={handleClearAll}>
<ListItemIcon>
<ClearAll fontSize="small" />
Expand Down

0 comments on commit d24e952

Please sign in to comment.