Mercurial > repos > fubar > jbrowse2
diff x/static/js/4033.df8ecd0d.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/4033.df8ecd0d.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([[4033],{34033:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var l=a(7552),n=a(68446),r=a(49823),o=a(29499),c=a(36715),s=a(1343),i=a(58507),h=a(5401);const u=(0,a(75785).n9)()({root:{width:500}}),m=(0,n.observer)((function({model:e,handleClose:t}){const{classes:a}=u(),{maxHeight:n=""}=e,[m,d]=(0,l.useState)(`${n}`),b=""!==m&&!Number.isNaN(+m);return l.createElement(r.Dialog,{open:!0,onClose:t,title:"Set max height"},l.createElement(o.A,{className:a.root},l.createElement(c.A,null,'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'),l.createElement(s.A,{value:m,onChange:e=>{d(e.target.value)},placeholder:"Enter max score"}),b?null:l.createElement("div",{style:{color:"red"}},"Invalid number")),l.createElement(i.A,null,l.createElement(h.A,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,disabled:!b,onClick:()=>{e.setMaxHeight(+m),t()}},"Submit"),l.createElement(h.A,{variant:"contained",color:"secondary",onClick:()=>{t()}},"Cancel")))}))}}]); +//# sourceMappingURL=4033.df8ecd0d.chunk.js.map \ No newline at end of file