mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 09:34:50 +00:00
Fix: Version nag navigation (#7070)
* fix: version nag navigation * prepr
This commit is contained in:
@@ -42,10 +42,11 @@ export const coreNags: Nag[] = [
|
||||
link: {
|
||||
path: 'settings/versions',
|
||||
title: defineMessage({
|
||||
id: 'nags.versions.title',
|
||||
defaultMessage: 'Visit versions page',
|
||||
id: 'nags.settings.versions.title',
|
||||
defaultMessage: 'Visit versions settings',
|
||||
}),
|
||||
shouldShow: (context: NagContext) => context.currentRoute !== 'type-project-versions',
|
||||
shouldShow: (context: NagContext) =>
|
||||
context.currentRoute !== 'type-project-settings-versions',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user