mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
prototype for new app window
This commit is contained in:
@@ -29,8 +29,10 @@ export default class TabManager extends Component {
|
||||
return this.children;
|
||||
}
|
||||
|
||||
async loadTabs() {
|
||||
const openTabs = options.getJson('openTabs') || [];
|
||||
async loadTabs(loadExistingTabs) {
|
||||
const openTabs = loadExistingTabs
|
||||
? (options.getJson('openTabs') || [])
|
||||
: [];
|
||||
|
||||
// if there's notePath in the URL, make sure it's open and active
|
||||
// (useful, among others, for opening clipped notes from clipper)
|
||||
|
||||
Reference in New Issue
Block a user