mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-10 22:54:30 +08:00
Temporary remove contest related content from sharing via OpenArt.
This commit is contained in:
parent
b32d63aa4c
commit
b61b68ee1e
@ -264,9 +264,10 @@ export class OpenArtShareDialog extends ComfyDialog {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
// OpenArt Contest Section
|
// OpenArt Contest Section
|
||||||
|
/*
|
||||||
this.joinContestCheckbox = $el("input", {
|
this.joinContestCheckbox = $el("input", {
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
id: "join_contest"
|
id: "join_contest"s
|
||||||
}, [])
|
}, [])
|
||||||
this.joinContestDescription = $el("a", {
|
this.joinContestDescription = $el("a", {
|
||||||
style: {
|
style: {
|
||||||
@ -290,6 +291,7 @@ export class OpenArtShareDialog extends ComfyDialog {
|
|||||||
const contestSection = $el("div", {style: sectionStyle}, [
|
const contestSection = $el("div", {style: sectionStyle}, [
|
||||||
this.joinContestLabel,
|
this.joinContestLabel,
|
||||||
]);
|
]);
|
||||||
|
*/
|
||||||
|
|
||||||
// Message Section
|
// Message Section
|
||||||
this.message = $el(
|
this.message = $el(
|
||||||
@ -349,7 +351,7 @@ export class OpenArtShareDialog extends ComfyDialog {
|
|||||||
outputUploadSection,
|
outputUploadSection,
|
||||||
this.outputsSection,
|
this.outputsSection,
|
||||||
additionalInputsSection,
|
additionalInputsSection,
|
||||||
contestSection,
|
// contestSection,
|
||||||
this.message,
|
this.message,
|
||||||
buttonsSection,
|
buttonsSection,
|
||||||
];
|
];
|
||||||
@ -486,7 +488,7 @@ export class OpenArtShareDialog extends ComfyDialog {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const join_contest = this.joinContestCheckbox.checked;
|
// const join_contest = this.joinContestCheckbox.checked;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await this.fetchApi(
|
const response = await this.fetchApi(
|
||||||
@ -502,7 +504,7 @@ export class OpenArtShareDialog extends ComfyDialog {
|
|||||||
workflow_api_json: workflowAPIJSON,
|
workflow_api_json: workflowAPIJSON,
|
||||||
snapshot: current_snapshot,
|
snapshot: current_snapshot,
|
||||||
},
|
},
|
||||||
join_contest,
|
// join_contest,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
"Uploading workflow..."
|
"Uploading workflow..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user