mirror of
https://github.com/modrinth/code.git
synced 2026-07-31 21:26:40 +00:00
fix: license nag showing for datapacks
This commit is contained in:
@@ -326,6 +326,8 @@ export const linksNags: Nag[] = [
|
||||
},
|
||||
status: 'required',
|
||||
shouldShow: (context: NagContext) => {
|
||||
if (context.projectV3.project_types.includes('datapack')) return false
|
||||
|
||||
const hasSourceUrl = !!context.project.source_url
|
||||
const hasAdditionalFiles = (context: NagContext) => {
|
||||
let hasAdditional = true
|
||||
|
||||
Reference in New Issue
Block a user