Skip to content

Commit 1c648dc

Browse files
committed
feat: #571 technology report - move componente TimeTange to shared
1 parent c64bd34 commit 1c648dc

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

src/app/modules/technology-report/components/time-range-form/time-range-form.component.html renamed to src/app/modules/shared/time-range-form/time-range-form.component.html

File renamed without changes.

src/app/modules/technology-report/components/time-range-form/time-range-form.component.ts renamed to src/app/modules/shared/time-range-form/time-range-form.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import { ToastrService } from 'ngx-toastr';
22
import { formatDate } from '@angular/common';
33
import { Component, OnInit } from '@angular/core';
44
import { FormControl, FormGroup } from '@angular/forms';
5-
import * as entryActions from '../../../time-clock/store/entry.actions';
5+
import * as entryActions from '../../time-clock/store/entry.actions';
6+
67
import {Store} from '@ngrx/store';
7-
import {EntryState} from '../../../time-clock/store/entry.reducer';
8+
import {EntryState} from '../../time-clock/store/entry.reducer';
89
import * as moment from 'moment';
910

1011
@Component({

src/app/modules/technology-report/components/time-range-form/time-range.component.spec.ts renamed to src/app/modules/shared/time-range-form/time-range.component.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { ToastrService, IndividualConfig } from 'ngx-toastr';
22
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
33
import { MockStore, provideMockStore } from '@ngrx/store/testing';
44
import { TimeRangeFormComponent } from './time-range-form.component';
5-
import { EntryState } from '../../../time-clock/store/entry.reducer';
5+
import { EntryState } from '../../time-clock/store/entry.reducer';
66
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
7-
import { InputDateComponent } from '../../../shared/components/input-date/input-date.component';
8-
import * as entryActions from '../../../time-clock/store/entry.actions';
7+
import { InputDateComponent } from '../../shared/components/input-date/input-date.component';
8+
import * as entryActions from '../../time-clock/store/entry.actions';
99
import * as moment from 'moment';
1010

1111
describe('Reports Page', () => {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
<app-time-range-form></app-time-range-form>
12
<app-technology-report-table></app-technology-report-table>

0 commit comments

Comments
 (0)