resolve view election issue in dashboar