"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[9393],{19393:function(e,n,o){o.r(n),o.d(n,{default:function(){return f}});o(30969);var s=o(90550),r=o(92256),t=o(48651),i=o(17984),l=o(70054),c=o(52907),a=o(69852),u=o(37574);var f=(0,s.observer)((function(e){var n,o=e.rootModel,s=e.onClose;if(!o)return null;if("object"!==typeof(n=o)||!n||!("jbrowse"in n))return console.error("Incorrect rootmodel"),null;var f=o.jbrowse,d=o.session;return(0,u.jsxs)(r.Z,{open:!0,onClose:s,children:[(0,u.jsx)(t.Z,{children:"Set default session"}),(0,u.jsx)(i.Z,{children:(0,u.jsx)(l.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,u.jsxs)(c.Z,{children:[(0,u.jsx)(a.Z,{variant:"contained",onClick:function(){f.setDefaultSessionConf({name:"New session"}),s()},children:"Clear default session"}),(0,u.jsx)(a.Z,{color:"secondary",variant:"contained",onClick:function(){return s()},children:"Cancel"}),(0,u.jsx)(a.Z,{color:"primary",variant:"contained",onClick:function(){f.setDefaultSessionConf(d),s()},children:"Set current session as default"})]})]})}))}}]);
//# sourceMappingURL=9393.49fd794c.chunk.js.map