"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9675],{79675:(e,n,s)=>{s.r(n),s.d(n,{default:()=>u});var o=s(7552),t=s(68446),a=s(29499),l=s(36715),r=s(58507),i=s(5401),c=s(49823);const u=(0,t.observer)((function({rootModel:e,onClose:n}){const{jbrowse:s,session:t}=e;return o.createElement(c.Dialog,{open:!0,onClose:n,title:"Set default session"},o.createElement(a.A,null,o.createElement(l.A,null,'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.')),o.createElement(r.A,null,o.createElement(i.A,{color:"secondary",variant:"contained",onClick:()=>{n()}},"Cancel"),o.createElement(i.A,{variant:"contained",onClick:()=>{s.setDefaultSessionConf({name:"New session"}),n()}},"Clear default session"),o.createElement(i.A,{color:"primary",variant:"contained",onClick:()=>{s.setDefaultSessionConf(t),n()}},"Set current session as default session")))}))}}]);
//# sourceMappingURL=9675.b4f16970.chunk.js.map