Skip to content

Commit d0ae953

Browse files
committed
fix: TT 649 Display last 5 10 projects below Project Selection input box
1 parent d4f751b commit d0ae953

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

src/app/modules/customer-management/components/projects/components/store/project.actions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ export class LoadCustomerProjectsFail implements Action {
6666

6767
export class LoadRecentProjects implements Action {
6868
public readonly type = ProjectActionTypes.LOAD_RECENT_PROJECTS;
69-
constructor() {}
7069
}
7170

7271
export class LoadRecentProjectsSuccess implements Action {

src/app/modules/customer-management/components/projects/components/store/project.reducer.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const initialState = {
2222
export const projectReducer = (state: ProjectState = initialState, action: ProjectActions) => {
2323
const projects = [...state.customerProjects];
2424
switch (action.type) {
25-
case ProjectActionTypes.LOAD_PROJECTS: {
25+
case ProjectActionTypes.LOAD_PROJECTS || ProjectActionTypes.LOAD_RECENT_PROJECTS: {
2626
return {
2727
...state,
2828
isLoading: true,
@@ -67,12 +67,6 @@ export const projectReducer = (state: ProjectState = initialState, action: Proje
6767
};
6868
}
6969

70-
case ProjectActionTypes.LOAD_RECENT_PROJECTS:
71-
return {
72-
...state,
73-
isLoading: true,
74-
};
75-
7670
case ProjectActionTypes.LOAD_RECENT_PROJECTS_SUCCESS:
7771
return {
7872
...state,

src/app/modules/time-clock/components/project-list-hover/project-list-hover.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</form>
4646

4747
<div class="table-responsive">
48-
<table class="table table-sm table-striped table-bordered mb-0">
48+
<table class="table table-sm table-striped table-bordered mb-0" aria-hidden="true">
4949
<thead class="thead-blue">
5050
<tr class="d-flex">
5151
<th class="col md-col">Latest projects you worked on</th>

0 commit comments

Comments
 (0)