"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[767],{80767:(e,n,s)=>{s.r(n),s.d(n,{default:()=>u});var o=s(66204),t=s(80846),a=s(29520),l=s(80013),r=s(62301),i=s(7146),c=s(35421);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.Z,null,o.createElement(l.Z,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.Z,null,o.createElement(i.Z,{color:"secondary",variant:"contained",onClick:()=>n()},"Cancel"),o.createElement(i.Z,{variant:"contained",onClick:()=>{s.setDefaultSessionConf({name:"New session"}),n()}},"Clear default session"),o.createElement(i.Z,{color:"primary",variant:"contained",onClick:()=>{s.setDefaultSessionConf(t),n()}},"Set current session as default session")))}))}}]);
//# sourceMappingURL=767.ed47d2c0.chunk.js.map