diff --git a/src/ui/databrowserModule/singleDataset/listView/singleDatasetListView.component.ts b/src/ui/databrowserModule/singleDataset/listView/singleDatasetListView.component.ts index a7b2c7cc0376006437f2a5ed3b447f0774f5d6e9..44ee85ca5cc0a8e115b641c22bab450a5b64b884 100644 --- a/src/ui/databrowserModule/singleDataset/listView/singleDatasetListView.component.ts +++ b/src/ui/databrowserModule/singleDataset/listView/singleDatasetListView.component.ts @@ -55,7 +55,7 @@ export class SingleDatasetListView extends SingleDatasetBase { .afterDismissed() .subscribe(({ dismissedByAction }) => { if (dismissedByAction) { - this._dbService.saveToFav(this.dataset) + this._dbService.removeFromFav(this.dataset) } }) this._dbService.saveToFav(this.dataset)