view x/static/js/9589.9087e0ea.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 source

"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9589],{49589:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var o=a(7552),l=a(68446),n=a(29499),r=a(36715),c=a(1343),s=a(58507),i=a(5401),h=a(49823);const u=(0,a(75785).n9)()({root:{width:500}}),m=(0,l.observer)((function(e){const{model:t,handleClose:a}=e,{classes:l}=u(),{maxHeight:m=""}=t,[b,d]=(0,o.useState)(`${m}`);return o.createElement(h.Dialog,{open:!0,onClose:a,title:"Set max height"},o.createElement(n.A,{className:l.root},o.createElement(r.A,null,'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'),o.createElement(c.A,{value:b,autoFocus:!0,onChange:e=>{d(e.target.value)},placeholder:"Enter max height for layout"}),o.createElement(s.A,null,o.createElement(i.A,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:()=>{t.setMaxHeight(""===b||Number.isNaN(+b)?void 0:+b),a()}},"Submit"),o.createElement(i.A,{variant:"contained",color:"secondary",onClick:()=>{a()}},"Cancel"))))}))}}]);
//# sourceMappingURL=9589.9087e0ea.chunk.js.map