"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[4954],{14954:function(e,s,n){n.r(s);n(30969);var o=n(90550),i=n(59071),t=n(33359),r=n(96074),a=n(72097),l=n(59767),c=n(37574),u=(0,o.observer)((function(e){var s=e.rootModel,n=e.onClose,o=s.jbrowse,u=s.session;return(0,c.jsxs)(l.Dialog,{open:!0,onClose:n,title:"Set default session",children:[(0,c.jsx)(i.Z,{children:(0,c.jsx)(t.Z,{children:'Select "Set current session as default" to make your current session saved to the config file. You can also hit "Clear default session", which would remove the default session from the config.'})}),(0,c.jsxs)(r.Z,{children:[(0,c.jsx)(a.Z,{color:"secondary",variant:"contained",onClick:function(){return n()},children:"Cancel"}),(0,c.jsx)(a.Z,{variant:"contained",onClick:function(){o.setDefaultSessionConf({name:"New session"}),n()},children:"Clear default session"}),(0,c.jsx)(a.Z,{color:"primary",variant:"contained",onClick:function(){o.setDefaultSessionConf(u),n()},children:"Set current session as default session"})]})]})}));s.default=u}}]);
//# sourceMappingURL=4954.9c277a5b.chunk.js.map