Skip to content
Snippets Groups Projects
Commit 6a90e354 authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: undo add to fav

parent df5dbe26
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ export class SingleDatasetListView extends SingleDatasetBase { ...@@ -55,7 +55,7 @@ export class SingleDatasetListView extends SingleDatasetBase {
.afterDismissed() .afterDismissed()
.subscribe(({ dismissedByAction }) => { .subscribe(({ dismissedByAction }) => {
if (dismissedByAction) { if (dismissedByAction) {
this._dbService.saveToFav(this.dataset) this._dbService.removeFromFav(this.dataset)
} }
}) })
this._dbService.saveToFav(this.dataset) this._dbService.saveToFav(this.dataset)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment