mirror of
https://github.com/zadam/trilium.git
synced 2026-01-09 08:04:23 +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
|
// Save window contents
|
||||||
if (currentWin) {
|
if (currentWin) {
|
||||||
currentWin.createdAt = Date.now();
|
currentWin.createdAt = Date.now();
|
||||||
currentWin.closedAt = null;
|
currentWin.closedAt = 0;
|
||||||
currentWin.contexts = filteredNoteContexts;
|
currentWin.contexts = filteredNoteContexts;
|
||||||
} else {
|
} else {
|
||||||
// Filter out the oldest entry (excluding the main window)
|
// Filter out the oldest entry (excluding the main window)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user