File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/app/shared/comcol/sections/comcol-browse-by Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import { BrowseDefinition } from '../../../../core/shared/browse-definition.mode
2626} )
2727export class ComcolBrowseByComponent implements OnInit {
2828
29- browseByType$ : Observable < BrowseByDataType > ;
29+ browseByType$ : Observable < { type : BrowseByDataType } > ;
3030
3131 scope$ : Observable < string > ;
3232
@@ -40,7 +40,7 @@ export class ComcolBrowseByComponent implements OnInit {
4040 */
4141 ngOnInit ( ) : void {
4242 this . browseByType$ = this . route . data . pipe (
43- map ( ( data : { browseDefinition : BrowseDefinition } ) => data . browseDefinition . getRenderType ( ) ) ,
43+ map ( ( data : { browseDefinition : BrowseDefinition } ) => ( { type : data . browseDefinition . getRenderType ( ) } ) ) ,
4444 ) ;
4545 this . scope$ = this . route . data . pipe (
4646 map ( ( data : Data ) => data . scope ) ,
You can’t perform that action at this time.
0 commit comments