You've already forked AstralRinth
forked from didirus/AstralRinth
Add nag for adding external resources (#918)
This commit is contained in:
@@ -235,6 +235,25 @@ export default {
|
|||||||
hide: this.routeName === 'type-id-settings-tags',
|
hide: this.routeName === 'type-id-settings-tags',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
condition: !(
|
||||||
|
this.project.issues_url ||
|
||||||
|
this.project.source_url ||
|
||||||
|
this.project.wiki_url ||
|
||||||
|
this.project.discord_url ||
|
||||||
|
this.project.donation_urls.length > 0
|
||||||
|
),
|
||||||
|
title: 'Add external links',
|
||||||
|
id: 'add-links',
|
||||||
|
description:
|
||||||
|
'Add any relevant links targeted outside of Modrinth, such as sources, issues, or a Discord invite.',
|
||||||
|
status: 'suggestion',
|
||||||
|
link: {
|
||||||
|
path: 'settings/links',
|
||||||
|
title: 'Visit links settings',
|
||||||
|
hide: this.routeName === 'type-id-settings-links',
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
hide:
|
hide:
|
||||||
this.project.project_type === 'resourcepack' ||
|
this.project.project_type === 'resourcepack' ||
|
||||||
|
|||||||
12
package-lock.json
generated
12
package-lock.json
generated
@@ -4768,9 +4768,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/caniuse-lite": {
|
"node_modules/caniuse-lite": {
|
||||||
"version": "1.0.30001359",
|
"version": "1.0.30001444",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001359.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001444.tgz",
|
||||||
"integrity": "sha512-Xln/BAsPzEuiVLgJ2/45IaqD9jShtk3Y33anKb4+yLwQzws3+v6odKfpgES/cDEaZMLzSChpIGdbOYtH9MyuHw==",
|
"integrity": "sha512-ecER9xgJQVMqcrxThKptsW0pPxSae8R2RB87LNa+ivW9ppNWRHEplXcDzkCOP4LYWGj8hunXLqaiC41iBATNyg==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
@@ -20225,9 +20225,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"caniuse-lite": {
|
"caniuse-lite": {
|
||||||
"version": "1.0.30001359",
|
"version": "1.0.30001444",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001359.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001444.tgz",
|
||||||
"integrity": "sha512-Xln/BAsPzEuiVLgJ2/45IaqD9jShtk3Y33anKb4+yLwQzws3+v6odKfpgES/cDEaZMLzSChpIGdbOYtH9MyuHw=="
|
"integrity": "sha512-ecER9xgJQVMqcrxThKptsW0pPxSae8R2RB87LNa+ivW9ppNWRHEplXcDzkCOP4LYWGj8hunXLqaiC41iBATNyg=="
|
||||||
},
|
},
|
||||||
"chalk": {
|
"chalk": {
|
||||||
"version": "2.4.2",
|
"version": "2.4.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user