Skip to content

Commit

Permalink
node-not-found
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcz007 committed Aug 23, 2024
1 parent 6ce5aa6 commit f8dd4c6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
Binary file modified assets/node-not-found.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 19 additions & 19 deletions web/javascript/ui_mixlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,7 @@ const missingNodeGithub = (missingNodeTypes, nodesMap) => {
>${n.title}
<div
style="display: flex;
flex-direction: row;
align-items: center;
${!n.author ? 'line-height: 4px;' : ''}
Expand Down Expand Up @@ -639,22 +637,7 @@ app.showMissingNodesError = async function (
: await getCustomnodeMappings()

this.ui.dialog.show(
`<a
style="color: white;
font-size: 18px;
font-weight: 800;
letter-spacing: 2px;
font-family: sans-serif;
text-decoration: none;
"
class="help_link"
href="https://discord.gg/cXs9vZSqeK" target="_blank">${showTextByLanguage(
'Welcome to Mixlab nodes discord, seeking help.',
{
'Welcome to Mixlab nodes discord, seeking help.':
'寻求帮助,加入Mixlab nodes交流频道'
}
)}</a><br><br>${showTextByLanguage(
`${showTextByLanguage(
'When loading the graph, the following node types were not found:',
{
'When loading the graph, the following node types were not found:':
Expand All @@ -665,7 +648,24 @@ app.showMissingNodesError = async function (
<ul class="comfy-missing-nodes">${missingNodeGithub(
missingNodeTypes,
nodesMap
).join('')}</ul>${hasAddedNodes ? '' : ''}`
).join('')}</ul>${hasAddedNodes ? '' : ''}
<br><br><a
style="color: #dedede;
font-size: 16px;
font-weight: 600;
letter-spacing: 2px;
font-family: sans-serif;
text-decoration: none;
"
class="help_link"
href="https://discord.gg/cXs9vZSqeK" target="_blank">${showTextByLanguage(
'Welcome to Mixlab nodes discord, seeking help.',
{
'Welcome to Mixlab nodes discord, seeking help.':
'寻求帮助,加入Mixlab nodes交流频道'
}
)}</a>
`
)
this.logging.addEntry('Comfy.App', 'warn', {
MissingNodes: missingNodeTypes
Expand Down

0 comments on commit f8dd4c6

Please sign in to comment.