"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9675],{79675:(e,s,o)=>{o.r(s),o.d(s,{default:()=>d});var n=o(67112),i=o(76218),t=o(61282),l=o(30698),r=o(69092),a=o(68446),c=o(69500);const d=(0,a.observer)(function({rootModel:e,onClose:s}){const{jbrowse:o,session:a}=e;return(0,c.jsxs)(n.Dialog,{open:!0,onClose:s,title:"Set default session",children:[(0,c.jsx)(i.A,{children:(0,c.jsx)(t.A,{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)(l.A,{children:[(0,c.jsx)(r.A,{color:"secondary",variant:"contained",onClick:()=>{s()},children:"Cancel"}),(0,c.jsx)(r.A,{variant:"contained",onClick:()=>{o.setDefaultSessionConf({name:"New session"}),s()},children:"Clear default session"}),(0,c.jsx)(r.A,{color:"primary",variant:"contained",onClick:()=>{o.setDefaultSessionConf(a),s()},children:"Set current session as default session"})]})]})})}}]);
//# sourceMappingURL=9675.a2880e59.chunk.js.map