pl-fe: show notifications page column title

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-11-02 11:39:49 +01:00
parent a6d711baff
commit 6fd94fc1f6
3 changed files with 3 additions and 9 deletions

View File

@ -62,6 +62,6 @@ const SidebarNavigationLink = React.memo(React.forwardRef((props: ISidebarNaviga
<p>{text}</p>
</NavLink>
);
}), (prevProps, nextProps) => prevProps.count === nextProps.count && prevProps.shrink === nextProps.shrink);
}), (prevProps, nextProps) => prevProps.count === nextProps.count);
export { SidebarNavigationLink as default };

View File

@ -30,7 +30,7 @@ interface IPopover {
/** Add a class to the reference (trigger) element */
referenceElementClassName?: string;
offsetOptions?: OffsetOptions;
placements?: Placement;
placements?: Array<Placement>;
}
/**

View File

@ -3,22 +3,16 @@ import { defineMessages, useIntl } from 'react-intl';
import NotificationsColumn from 'pl-fe/columns/notifications';
import Column from 'pl-fe/components/ui/column';
import { useFeatures } from 'pl-fe/hooks/use-features';
import { useSettings } from 'pl-fe/stores/settings';
const messages = defineMessages({
title: { id: 'column.notifications', defaultMessage: 'Notifications' },
});
const NotificationsPage = () => {
const features = useFeatures();
const intl = useIntl();
const settings = useSettings();
const showFilterBar = (features.notificationsExcludeTypes || features.notificationsIncludeTypes) && settings.notifications.quickFilter.show;
return (
<Column label={intl.formatMessage(messages.title)} withHeader={!showFilterBar}>
<Column label={intl.formatMessage(messages.title)}>
<NotificationsColumn />
</Column>
);