"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[767],{80767:(e,s,n)=>{n.r(s),n.d(s,{default:()=>d});n(41867);var o=n(3762),t=n(47409),i=n(51590),r=n(27768),l=n(23801),a=n(35421),c=n(80838);const d=(0,o.observer)((function(e){let{rootModel:s,onClose:n}=e;const{jbrowse:o,session:d}=s;return(0,c.jsxs)(a.Dialog,{open:!0,onClose:n,title:"Set default session",children:[(0,c.jsx)(t.Z,{children:(0,c.jsx)(i.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)(l.Z,{color:"secondary",variant:"contained",onClick:()=>n(),children:"Cancel"}),(0,c.jsx)(l.Z,{variant:"contained",onClick:()=>{o.setDefaultSessionConf({name:"New session"}),n()},children:"Clear default session"}),(0,c.jsx)(l.Z,{color:"primary",variant:"contained",onClick:()=>{o.setDefaultSessionConf(d),n()},children:"Set current session as default session"})]})]})}))}}]);
//# sourceMappingURL=767.e57a44fc.chunk.js.map