All files / projects/organization-management/src/app/store/budget budget.selectors.ts

100% Statements 10/10
100% Branches 0/0
100% Functions 4/4
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 1246x   46x   46x   46x   46x   46x  
import { createSelector } from '@ngrx/store';
 
import { getOrganizationManagementState } from '../organization-management-store';
 
const getBudgetState = createSelector(getOrganizationManagementState, state => state.budget);
 
export const getCurrentUserBudgetLoading = createSelector(getBudgetState, state => state.loading);
 
export const getCurrentUserBudgetError = createSelector(getBudgetState, state => state.error);
 
export const getCurrentUserBudget = createSelector(getBudgetState, state => state.budget);