Remove success message display for GCode file, job, and printer creation in NewGCodeFile, NewJob, and NewPrinter components to streamline user feedback during submission.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit

This commit is contained in:
Tom Butcher 2026-06-21 22:35:17 +01:00
parent 457c427928
commit 77611646aa
3 changed files with 0 additions and 4 deletions

View File

@ -5,7 +5,6 @@ import NewObjectForm from '../../common/NewObjectForm'
import WizardView from '../../common/WizardView'
const NewGCodeFile = ({ onOk, defaultValues }) => {
const { showSuccess } = useMessageContext()
return (
<NewObjectForm
type={'gcodeFile'}
@ -78,7 +77,6 @@ const NewGCodeFile = ({ onOk, defaultValues }) => {
onSubmit={async () => {
const result = await handleSubmit()
if (result) {
showSuccess('Finished uploading GCode file!')
onOk()
}
}}

View File

@ -5,7 +5,6 @@ import NewObjectForm from '../../common/NewObjectForm'
import WizardView from '../../common/WizardView'
const NewJob = ({ onOk, defaultValues }) => {
const { showSuccess } = useMessageContext()
return (
<NewObjectForm
type={'job'}

View File

@ -5,7 +5,6 @@ import NewObjectForm from '../../common/NewObjectForm'
import WizardView from '../../common/WizardView'
const NewPrinter = ({ onOk, defaultValues }) => {
const { showSuccess } = useMessageContext()
return (
<NewObjectForm
type={'printer'}