cleanup
This commit is contained in:
parent
2eb0f804ee
commit
ad8aa21dc2
@ -115,7 +115,6 @@ const ServerCommandsPanel = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setServerProcess({...serverProcess});
|
setServerProcess({...serverProcess});
|
||||||
console.log("serverProcess fecht notifications");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
|
@ -167,7 +167,6 @@ export const ServerNotificationsBadge = () => {
|
|||||||
sx={{
|
sx={{
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
textOverflow: "ellipsis",
|
textOverflow: "ellipsis",
|
||||||
whiteSpace: "nowrap"
|
|
||||||
}}
|
}}
|
||||||
dangerouslySetInnerHTML={{ __html: notification.output.split("\n")[0] }}
|
dangerouslySetInnerHTML={{ __html: notification.output.split("\n")[0] }}
|
||||||
/>
|
/>
|
||||||
@ -175,7 +174,7 @@ export const ServerNotificationsBadge = () => {
|
|||||||
/>
|
/>
|
||||||
<ListItemText
|
<ListItemText
|
||||||
primary={
|
primary={
|
||||||
<Typography variant="body2">{getTimeSince(notification.sent_at) + " ago"}</Typography>
|
<Typography variant="body2" sx={{ color: theme.palette.text.secondary }}>{getTimeSince(notification.sent_at) + " ago"}</Typography>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user