summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/NotificationBanner.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/renderer/components/NotificationBanner.tsx b/gui/src/renderer/components/NotificationBanner.tsx
index c9354be7ac..01915b1240 100644
--- a/gui/src/renderer/components/NotificationBanner.tsx
+++ b/gui/src/renderer/components/NotificationBanner.tsx
@@ -84,7 +84,7 @@ export const NotificationActions = styled.div({
});
interface INotificationIndicatorProps {
- type: InAppNotificationIndicatorType;
+ type?: InAppNotificationIndicatorType;
}
const notificationIndicatorTypeColorMap = {
@@ -99,7 +99,7 @@ export const NotificationIndicator = styled.div((props: INotificationIndicatorPr
borderRadius: '5px',
marginTop: '4px',
marginRight: '8px',
- backgroundColor: notificationIndicatorTypeColorMap[props.type],
+ backgroundColor: props.type ? notificationIndicatorTypeColorMap[props.type] : 'transparent',
}));
interface ICollapsibleProps {