Skip to content
Snippets Groups Projects

Fixed bug where the project list always loaded over again on entering view...

Merged Tormod Mork Müller requested to merge Tormod into main
1 file
+ 4
2
Compare changes
  • Side-by-side
  • Inline
@@ -132,8 +132,10 @@ struct ProjectListView: View {
}
.task {
/// On first time opening --> Load in project data
await projectData.loadData { (projects) in
self.projects = projects
if projects.isEmpty {
await projectData.loadData { (projects) in
self.projects = projects
}
}
}
.sheet(isPresented: $showFilterModalView,
Loading