Skip to content

Commit

Permalink
year selector fixed for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tfhuhtal committed Jul 2, 2024
1 parent 24c9386 commit 2614ba5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ReactMarkdown from 'react-markdown'
import { Link, useLocation } from 'react-router-dom'
import CsvDownload from 'Components/Generic/CsvDownload'
import { Button, Dropdown, Message } from 'semantic-ui-react'
import { filterFromUrl, getYearToShow } from 'Utilities/common'
import { filterFromUrl } from 'Utilities/common'
import { useVisibleOverviewProgrammes } from 'Utilities/overview'
import { isAdmin } from '@root/config/common'
import useDebounce from 'Utilities/useDebounce'
Expand Down Expand Up @@ -38,7 +38,7 @@ const ProgrammeLevelOverview = () => {
const deadlineInfo = nextDeadline ? nextDeadline.find(a => a.form === form) : null
const [doctoral, setDoctoral] = useState(false)

const year = getYearToShow({ draftYear, nextDeadline, form })
const year = 2024

useEffect(() => {
const filterQuery = filterFromUrl()
Expand Down

0 comments on commit 2614ba5

Please sign in to comment.