added missing typedoc

This commit is contained in:
lotte
2019-11-08 07:44:10 +01:00
parent 575a142022
commit 1e94a02da0
2 changed files with 9 additions and 0 deletions

View File

@@ -96,6 +96,9 @@ export class MyDSpacePageComponent implements OnInit {
*/ */
viewModeList = [ViewMode.ListElement, ViewMode.DetailedListElement]; viewModeList = [ViewMode.ListElement, ViewMode.DetailedListElement];
/**
* The current context of this page: workspace or workflow
*/
context$: Observable<Context>; context$: Observable<Context>;
constructor(private service: SearchService, constructor(private service: SearchService,
@@ -114,6 +117,9 @@ export class MyDSpacePageComponent implements OnInit {
* *
* Listen to changes in the scope * Listen to changes in the scope
* If something changes, update the list of scopes for the dropdown * If something changes, update the list of scopes for the dropdown
*
* Listen to changes in the configuration
* If something changes, update the current context
*/ */
ngOnInit(): void { ngOnInit(): void {
this.configurationList$ = this.searchConfigService.getAvailableConfigurationOptions(); this.configurationList$ = this.searchConfigService.getAvailableConfigurationOptions();

View File

@@ -37,6 +37,9 @@ export class MyDSpaceResultsComponent {
*/ */
@Input() viewMode: ViewMode; @Input() viewMode: ViewMode;
/**
* The current context for the search results
*/
@Input() context: Context; @Input() context: Context;
/** /**
* A boolean representing if search results entry are separated by a line * A boolean representing if search results entry are separated by a line