Mercurial > repos > fubar > jbrowse2
diff x/static/js/765.20669bca.chunk.js @ 125:49f3d3878413 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author | fubar |
---|---|
date | Sat, 05 Oct 2024 23:58:05 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/x/static/js/765.20669bca.chunk.js Sat Oct 05 23:58:05 2024 +0000 @@ -0,0 +1,2 @@ +"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[765],{40765:(e,o,n)=>{n.r(o),n.d(o,{default:()=>i});var t=n(7552),l=n(29499),r=n(99123),a=n(58507),s=n(5401),c=n(49823);const i=({sessionToDelete:e,onClose:o,rootModel:n})=>{const[i,u]=(0,t.useState)();return t.createElement(c.Dialog,{open:!0,onClose:()=>{o(!1)},title:`Delete session "${e}"?`},t.createElement(l.A,null,i?t.createElement(c.ErrorMessage,{error:i}):null,t.createElement(r.A,null,"This action cannot be undone")),t.createElement(a.A,null,t.createElement(s.A,{onClick:()=>{o(!1)},color:"primary"},"Cancel"),t.createElement(s.A,{onClick:()=>{(async()=>{try{e&&n.removeSavedSession({name:e}),o(!0)}catch(e){console.error(e),u(e)}})()},color:"primary",variant:"contained",autoFocus:!0},"Delete")))}}}]); +//# sourceMappingURL=765.20669bca.chunk.js.map \ No newline at end of file