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 merge requests found
......@@ -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)
......
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