Mail-Ngrx app throws errors for certain rxjs operators

+ Various other small code fixes
This commit is contained in:
Sercan Yemen 2018-01-11 12:31:06 +03:00
parent ba49621e79
commit 18b2bdf5ab
4 changed files with 3 additions and 15 deletions

View File

@ -25,21 +25,13 @@ import { fuseAnimations } from '../../../../core/animations';
export class FuseCalendarComponent implements OnInit export class FuseCalendarComponent implements OnInit
{ {
view: string; view: string;
viewDate: Date; viewDate: Date;
events: CalendarEvent[]; events: CalendarEvent[];
public actions: CalendarEventAction[]; public actions: CalendarEventAction[];
activeDayIsOpen: boolean; activeDayIsOpen: boolean;
refresh: Subject<any> = new Subject(); refresh: Subject<any> = new Subject();
dialogRef: any; dialogRef: any;
confirmDialogRef: MatDialogRef<FuseConfirmDialogComponent>; confirmDialogRef: MatDialogRef<FuseConfirmDialogComponent>;
selectedDay: any; selectedDay: any;
constructor( constructor(

View File

@ -7,6 +7,8 @@ import { locale as english } from './i18n/en';
import { locale as turkish } from './i18n/tr'; import { locale as turkish } from './i18n/tr';
import { Store } from '@ngrx/store'; import { Store } from '@ngrx/store';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/debounceTime';
import 'rxjs/add/operator/distinctUntilChanged';
import * as fromStore from './store'; import * as fromStore from './store';
import { FuseConfigService } from '../../../../core/services/config.service'; import { FuseConfigService } from '../../../../core/services/config.service';

View File

@ -4,6 +4,7 @@ import { Actions, Effect } from '@ngrx/effects';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';
import { of } from 'rxjs/observable/of'; import { of } from 'rxjs/observable/of';
import { map, mergeMap, exhaustMap, withLatestFrom } from 'rxjs/operators'; import { map, mergeMap, exhaustMap, withLatestFrom } from 'rxjs/operators';
import 'rxjs/add/operator/debounceTime';
import { getRouterState, State } from '../../../../../../store/reducers'; import { getRouterState, State } from '../../../../../../store/reducers';
import { getMailsState } from '../selectors'; import { getMailsState } from '../selectors';
import * as MailsActions from '../actions/mails.actions'; import * as MailsActions from '../actions/mails.actions';

View File

@ -10,13 +10,6 @@
flex-shrink: 0; flex-shrink: 0;
background: #FFFFFF; background: #FFFFFF;
&.todo-item-placeholder {
background: rgba(0, 0, 0, 0.12);
* {
opacity: 0;
}
}
.handle { .handle {
height: 48px; height: 48px;
line-height: 48px; line-height: 48px;