Remove success message display for job and printer creation in 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
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
This commit is contained in:
parent
00cde6e8c5
commit
6d1c7cf6ca
@ -64,7 +64,6 @@ const NewJob = ({ onOk, defaultValues }) => {
|
|||||||
onSubmit={async () => {
|
onSubmit={async () => {
|
||||||
const result = await handleSubmit()
|
const result = await handleSubmit()
|
||||||
if (result) {
|
if (result) {
|
||||||
showSuccess('New job created successfully.')
|
|
||||||
onOk()
|
onOk()
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|||||||
@ -99,7 +99,6 @@ const NewPrinter = ({ onOk, defaultValues }) => {
|
|||||||
onSubmit={async () => {
|
onSubmit={async () => {
|
||||||
const result = await handleSubmit()
|
const result = await handleSubmit()
|
||||||
if (result) {
|
if (result) {
|
||||||
showSuccess('New printer added successfully.')
|
|
||||||
onOk()
|
onOk()
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user