mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
Added notifications state selectors
This commit is contained in:
9
src/app/shared/notifications/selectors.ts
Normal file
9
src/app/shared/notifications/selectors.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Returns the user state.
|
||||
* @function getUserState
|
||||
* @param {AppState} state Top level state.
|
||||
* @return {AuthState}
|
||||
*/
|
||||
import { AppState } from '../../app.reducer';
|
||||
|
||||
export const notificationsStateSelector = (state: AppState) => state.notifications;
|
Reference in New Issue
Block a user