mirror of
https://github.com/zadam/trilium.git
synced 2026-01-01 20:24:25 +01:00
chore(window): initialize closed time of openNoteContents to 0
Some checks are pending
Checks / main (push) Waiting to run
Some checks are pending
Checks / main (push) Waiting to run
This commit is contained in:
parent
1078107776
commit
79e2c97882
@ -138,7 +138,7 @@ export default class TabManager extends Component {
|
||||
// Save window contents
|
||||
if (currentWin) {
|
||||
currentWin.createdAt = Date.now();
|
||||
currentWin.closedAt = null;
|
||||
currentWin.closedAt = 0;
|
||||
currentWin.contexts = filteredNoteContexts;
|
||||
} else {
|
||||
// Filter out the oldest entry (excluding the main window)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user