Skip to content

Commit cabfded

Browse files
authored
Set the persistence of the delete board snackbar to false, so that it… (#7305)
Fixes b/467187819 "Currently, when you delete an Opal, a toast pops up confirming you've deleted the Opal. Today, you have to click x to dismiss the toast. Change this behavior so that the toast disappears after 5 seconds if it hasn't already been dismissed by the user yet. So there will be 2 criteria for dismissing this "opal has been deleted toast": 1) either user clicks x to dismiss or 2) toast has been displayed for 5 seconds."
1 parent 31e373d commit cabfded

File tree

1 file changed

+1
-1
lines changed
  • packages/visual-editor/src/runtime

1 file changed

+1
-1
lines changed

packages/visual-editor/src/runtime/board.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ export class Board extends EventTarget {
793793
messages.end,
794794
BreadboardUI.Types.SnackType.INFORMATION,
795795
[],
796-
true,
796+
false,
797797
true
798798
)
799799
);

0 commit comments

Comments
 (0)