Skip to content

Commit

Permalink
refactor: default date selection to now
Browse files Browse the repository at this point in the history
  • Loading branch information
JTraill committed Jan 14, 2025
1 parent 675b992 commit e3317dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/courtlist/CourtList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
} from '@/types/courtlist';
import { courtListType } from '@/types/courtlist/jsonTypes';
import CourtListLayout from './CourtListLayout.vue';
const commonStore = useCommonStore();
const courtListStore = useCourtListStore();
// State variables
Expand All @@ -151,7 +151,7 @@
const totalTimeUnit = ref('Hours');
const courtRoomsAndLocationsJson = ref<CourtRoomsJsonInfoType[]>([]);
const courtRoomsAndLocations = ref<courtRoomsAndLocationsInfoType[]>([]);
const selectedDate = ref(new Date('May 10, 2023 00:00:00'));
const selectedDate = ref(new Date());
const shortHandDate = computed(() =>
selectedDate.value.toISOString().substring(0, 10)
);
Expand Down

0 comments on commit e3317dd

Please sign in to comment.