101623: Reset in Treeview also resets selectedItems + Provide TreeviewService in root

This commit is contained in:
Nona Luypaert
2023-06-02 13:31:53 +02:00
parent 138fccf711
commit 9d08cac566
8 changed files with 35 additions and 13 deletions

View File

@@ -31,7 +31,6 @@ import { GoogleAnalyticsService } from '../../app/statistics/google-analytics.se
import { AuthRequestService } from '../../app/core/auth/auth-request.service';
import { BrowserAuthRequestService } from '../../app/core/auth/browser-auth-request.service';
import { BrowserInitService } from './browser-init.service';
import { VocabularyTreeviewService } from 'src/app/shared/form/vocabulary-treeview/vocabulary-treeview.service';
export const REQ_KEY = makeStateKey<string>('req');
@@ -111,10 +110,6 @@ export function getRequest(transferState: TransferState): any {
{
provide: LocationToken,
useFactory: locationProvider,
},
{
provide: VocabularyTreeviewService,
useClass: VocabularyTreeviewService,
}
]
})