mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
fix tab append on initial application startup
This commit is contained in:
parent
7c9ab300d3
commit
ef227f276d
5 changed files with 22 additions and 6 deletions
|
|
@ -119,6 +119,7 @@ impl App {
|
|||
// Restore previous session from DB
|
||||
match Database::records(&transaction) {
|
||||
Ok(records) => {
|
||||
// Restore child components
|
||||
for record in records {
|
||||
if let Err(e) =
|
||||
browser.restore(&transaction, &record.id)
|
||||
|
|
@ -126,6 +127,9 @@ impl App {
|
|||
todo!("{e}")
|
||||
}
|
||||
}
|
||||
|
||||
// Run initial features
|
||||
browser.init();
|
||||
}
|
||||
Err(e) => todo!("{e}"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue