Skip to content

Commit

Permalink
Rename function to a more descriptive name
Browse files Browse the repository at this point in the history
  • Loading branch information
Hemanth Kona authored and Hemanth Kona committed Jun 24, 2024
1 parent 23731ea commit 6d623eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/DutyRoster/components/DutyRosterHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
style="max-height: 40px;"
size="sm"
variant="white"
@click="populateAssignmentDutiedForTheWeek()"
@click="populateAllAssignmentDutiesForTheCurrentDateRange()"
class="my-1 mr-3">
<b-icon icon="file-plus" font-scale="2.0" variant="white"/>
</b-button>
Expand Down Expand Up @@ -782,7 +782,7 @@
})
}
public populateAssignmentDutiedForTheWeek() {
public populateAllAssignmentDutiesForTheCurrentDateRange() {
// Get all assignment for the current location for the current date range
const assignmentsQueryString = `?locationId=${this.location.id}&start=${this.dutyRangeInfo.startDate}&end=${this.dutyRangeInfo.endDate}`;
const assignmentUrl = `api/assignment${assignmentsQueryString}`;
Expand Down

0 comments on commit 6d623eb

Please sign in to comment.