Skip to content
Snippets Groups Projects
Unverified Commit b86b1608 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Merge pull request #357 from HumanBrainProject/bugfix/undoSaveToFav

bugfix: undo add to fav
parents 298d10a7 6a90e354
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