Skip to content
Snippets Groups Projects
Commit 32f83f7e authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

refactor: remove rss part

parent 371209f0
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@
.instance-logo-wrapper {
max-height: 50px;
cursor: pointer;
.instance-logo {
height: 40px;
......
......@@ -41,12 +41,6 @@
<div class="news-wrapper"
[class.hide]="(listAdaptedObs | async | isNonEmptyArray) || !(searchObs | async | isNullOrUndefined) && (searchObs | async | isNonEmptyString)"
>
<!-- <dlcm-home-rss-wrapper-presentational *ngIf="(rssObs | async) as rss"-->
<!-- [rss]="rss"-->
<!-- class="rss"-->
<!-- >-->
<!-- </dlcm-home-rss-wrapper-presentational>-->
<dlcm-home-main-page-content class="main-page-content"
(navigateChange)="navigate($event)"
></dlcm-home-main-page-content>
......
......@@ -21,7 +21,6 @@ import {LocalStateModel} from "@app/shared/models/local-state.model";
import {AppState} from "@app/stores/app.state";
import {AppCartAction} from "@app/stores/cart/app-cart.action";
import {HomeHelper} from "@home/helpers/home.helper";
import {Rss} from "@home/models/rss.model";
import {HomeService} from "@home/services/home.service";
import {Deposit} from "@models";
import {TranslateService} from "@ngx-translate/core";
......@@ -60,7 +59,6 @@ import {
export class HomeSearchRoutable extends SharedAbstractPresentational implements OnInit, OnDestroy {
isLoggedInObs: Observable<boolean> = MemoizedUtil.select(this.store, AppState, state => state.isLoggedIn);
searchObs: Observable<string> = MemoizedUtil.select(this.store, HomeState, state => state.search);
rssObs: Observable<Rss> = MemoizedUtil.select(this.store, HomeState, state => state.rss);
queryParametersObs: Observable<QueryParameters> = MemoizedUtil.select(this.store, HomeState, state => state.queryParameters);
listArchiveMetadataObs: Observable<ArchiveMetadata[]> = MemoizedUtil.select(this.store, HomeState, state => state.list);
searchScopeObs: Observable<SearchScopeEnum> = MemoizedUtil.select(this.store, HomeState, state => state.searchScope);
......@@ -160,7 +158,6 @@ export class HomeSearchRoutable extends SharedAbstractPresentational implements
ngOnInit(): void {
super.ngOnInit();
this.store.dispatch(new HomeAction.GetRss());
this.subscribe(this.observeSearchQueryParam());
this.subscribe(this.transformListArchive());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment