added a sort to workspaces so they are in the correct order
This commit is contained in:
@@ -835,6 +835,7 @@ fn run_workspaces_client(config: &Config) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
let mut workspaces_tmp = workspaces.clone();
|
let mut workspaces_tmp = workspaces.clone();
|
||||||
|
workspaces_tmp.sort_by(|a, b| a.id.cmp(&b.id));
|
||||||
let mut workspace = workspaces_tmp
|
let mut workspace = workspaces_tmp
|
||||||
.iter_mut()
|
.iter_mut()
|
||||||
.find(|w| w.id == active_id)
|
.find(|w| w.id == active_id)
|
||||||
|
Reference in New Issue
Block a user