You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(dialogs): handle cancel flows without false action failures
- treat FilePicker close events as user cancels and return safely from move/restore flows
- guard dialog .show() promises so cancel/close does not surface fake error toasts
- apply the same safe-cancel pattern to Move, Export, and Swarm Reference dialogs
Copy file name to clipboardExpand all lines: src/app/files/actions/reference.ts
+21-6Lines changed: 21 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -84,10 +84,13 @@ registerFileActionCompat({
84
84
icon: SvgHelper.convert(OpenSvg),
85
85
callback: ()=>{
86
86
voidnewDialog(
87
-
t("files_external_ethswarm","Access on Swarm Gateway?"),
88
87
t(
89
88
"files_external_ethswarm",
90
-
"You are about to access this file through gateway.ethswarm.org, a public Swarm gateway used to access Swarm content. Please note this opens an external link and can leave network and server access traces to your swarm reference."
89
+
"Access on Swarm Gateway?",
90
+
),
91
+
t(
92
+
"files_external_ethswarm",
93
+
"You are about to access this file through gateway.ethswarm.org, a public Swarm gateway used to access Swarm content. Please note this opens an external link and can leave network and server access traces to your swarm reference.",
0 commit comments