mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 12:35:07 +00:00
Re-activated mail search
+ Small formatting in mail translation
This commit is contained in:
parent
0e1c589399
commit
db7a00440c
|
@ -4,6 +4,8 @@ import { Subscription } from 'rxjs/Subscription';
|
||||||
import { FormControl } from '@angular/forms';
|
import { FormControl } from '@angular/forms';
|
||||||
import { Mail } from './mail.model';
|
import { Mail } from './mail.model';
|
||||||
import { FuseTranslationLoaderService } from '../../../../core/services/translation-loader.service';
|
import { FuseTranslationLoaderService } from '../../../../core/services/translation-loader.service';
|
||||||
|
import 'rxjs/add/operator/debounceTime';
|
||||||
|
import 'rxjs/add/operator/distinctUntilChanged';
|
||||||
import { locale as english } from './i18n/en';
|
import { locale as english } from './i18n/en';
|
||||||
import { locale as turkish } from './i18n/tr';
|
import { locale as turkish } from './i18n/tr';
|
||||||
|
|
||||||
|
@ -80,12 +82,12 @@ export class FuseMailComponent implements OnInit, OnDestroy
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/*this.searchInput.valueChanges
|
this.searchInput.valueChanges
|
||||||
.debounceTime(300)
|
.debounceTime(300)
|
||||||
.distinctUntilChanged()
|
.distinctUntilChanged()
|
||||||
.subscribe(searchText => {
|
.subscribe(searchText => {
|
||||||
this.mailService.onSearchTextChanged.next(searchText);
|
this.mailService.onSearchTextChanged.next(searchText);
|
||||||
});*/
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy()
|
ngOnDestroy()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user