prototype for new app window

This commit is contained in:
zadam
2020-04-23 23:08:15 +02:00
parent ff853c7d0a
commit 32020d78b5
11 changed files with 556 additions and 231 deletions

View File

@@ -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)