Skip to content

Commit 4162959

Browse files
Merge pull request #1944 from nextcloud-libraries/allow-dismiss-undo-toast
fix: allow dismiss the undo toast
2 parents 06e39d9 + bafc52d commit 4162959

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/toast.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ export function showUndo(text: string, onUndo: (e: MouseEvent) => void, options?
239239
options = Object.assign(options || {}, {
240240
// force 10 seconds of timeout
241241
timeout: TOAST_UNDO_TIMEOUT,
242-
// remove close button
243-
close: false,
244242
})
245243

246244
// Generate undo layout

0 commit comments

Comments
 (0)