Skip to content

Commit

Permalink
Merge pull request #184 from data-to-insight/update/default-year-2025
Browse files Browse the repository at this point in the history
feat: updates default year in load data, load data 903 and load data cin
  • Loading branch information
WillLP-code authored May 14, 2024
2 parents 58e4a00 + 268b363 commit de18b9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/loadData/LoadData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const LoadData = (props: LoadDataPageProps) => {

const [loading, setLoading] = useState(false);
const [loadingMessage, setLoadingMessage] = useState('');
const [collectionYear, setCollectionYear] = useState<string>('2023');
const [collectionYear, setCollectionYear] = useState<string>('2025');

useEffect(() => {
const init = async () => {
Expand Down
1 change: 1 addition & 0 deletions src/pages/loadData/LoadData903.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ const LoadData903 = (props: LoadDataViewProps) => {
setCollectionYear(event.target.value as string);
}}
>
<MenuItem value='2025'>2024/25</MenuItem>
<MenuItem value='2024'>2023/24</MenuItem>
<MenuItem value='2023'>2022/23</MenuItem>
</Select>
Expand Down
1 change: 1 addition & 0 deletions src/pages/loadData/LoadDataCIN.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ const LoadDataCIN = (props: LoadDataViewProps) => {
setCollectionYear(event.target.value as string);
}}
>
<MenuItem value='2025'>2024/25</MenuItem>
<MenuItem value='2024'>2023/24</MenuItem>
<MenuItem value='2023'>2022/23</MenuItem>
</Select>
Expand Down

0 comments on commit de18b9b

Please sign in to comment.