Fix versions not loading in settings page (#5214)
* Fix versions not loading in settings page * prepr
This commit is contained in:
@@ -311,7 +311,18 @@ import { reportVersion } from '~/utils/report-helpers.ts'
|
||||
|
||||
const client = injectModrinthClient()
|
||||
const { addNotification } = injectNotificationManager()
|
||||
const { projectV2: project, currentMember, versions, refreshVersions } = injectProjectPageContext()
|
||||
const {
|
||||
projectV2: project,
|
||||
currentMember,
|
||||
versions,
|
||||
refreshVersions,
|
||||
loadVersions,
|
||||
} = injectProjectPageContext()
|
||||
|
||||
// Load versions on mount (client-side)
|
||||
onMounted(() => {
|
||||
loadVersions()
|
||||
})
|
||||
|
||||
const tags = useGeneratedState()
|
||||
const flags = useFeatureFlags()
|
||||
|
||||
Reference in New Issue
Block a user