panel order default fix

This commit is contained in:
Dongdong Zhou 2024-08-07 22:23:27 +01:00
parent 8fc6fd59ae
commit c5c349380c
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ pub fn new(
.map(|i| {
let panel_order = db
.get_panel_orders()
.unwrap_or_else(|_| i.panel.panels.clone());
.unwrap_or_else(|_| default_panel_order());
PanelData {
panels: cx.create_rw_signal(panel_order),
styles: cx.create_rw_signal(i.panel.styles.clone()),