fix: minecraft title clause update
This commit is contained in:
1 parent
2f1a31a9e4
commit
28c8b59820
2 files changed
+3
-2
No files matched your search
@@ -145,7 +145,8 @@ export const descriptionNags: Nag[] = [
|
||||
status: 'required',
|
||||
shouldShow: (context: NagContext) => {
|
||||
const title = context.project.title?.toLowerCase() || ''
|
||||
return title.includes('minecraft') && title.length > 0
|
||||
const wordsInTitle = title.split(' ').filter((word) => word.length > 0)
|
||||
return title.includes('minecraft') && title.length > 0 && wordsInTitle.length <= 3
|
||||
},
|
||||
link: {
|
||||
path: 'settings',
|
||||
|
||||
Reference in new issue
Block a user