Skip to content

Commit

Permalink
Refs #2, Fix selection of site with no project
Browse files Browse the repository at this point in the history
  • Loading branch information
doumdi committed Mar 15, 2024
1 parent a6d2f91 commit 5102d64
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ DashboardSelectorForm {
sitesDashboardDataSource.setSiteID(selectedSite.id_site);
}
}
else
{
siteGridView.model.clear();
}
}

cmbProjects.onCurrentIndexChanged: function() {
Expand All @@ -36,6 +40,10 @@ DashboardSelectorForm {
projectsDashboardDataSource.setProjectID(selectedProject.id_project);
}
}
else
{
projectGridView.model.clear();
}
}

onItemClicked: function(id, definition){
Expand Down

0 comments on commit 5102d64

Please sign in to comment.