summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/renderer/lib')
-rw-r--r--gui/src/renderer/lib/history.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/renderer/lib/history.tsx b/gui/src/renderer/lib/history.tsx
index a391e70fee..4abdcd5fcb 100644
--- a/gui/src/renderer/lib/history.tsx
+++ b/gui/src/renderer/lib/history.tsx
@@ -88,9 +88,9 @@ export default class History {
this.notify(transitions.show);
};
- public dismiss = (all?: boolean) => {
+ public dismiss = (all?: boolean, transition = transitions.dismiss) => {
if (this.popImpl(all ? this.index : 1)) {
- this.notify(transitions.dismiss);
+ this.notify(transition);
}
};