Merge pull request 'changed logic in panel box validation' (#1549) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Reviewed-on: #1549
This commit was merged in pull request #1549.
This commit is contained in:
@@ -450,17 +450,7 @@ public $records = [];
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $prod) {
|
// if (! $prod) {
|
||||||
Notification::make()
|
|
||||||
->title('Failed to Save Production Characteristics')
|
|
||||||
->body('One or more characteristic records were not inserted.')
|
|
||||||
->danger()
|
|
||||||
->send();
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// if ($insertedCount != count($this->records)) {
|
|
||||||
// Notification::make()
|
// Notification::make()
|
||||||
// ->title('Failed to Save Production Characteristics')
|
// ->title('Failed to Save Production Characteristics')
|
||||||
// ->body('One or more characteristic records were not inserted.')
|
// ->body('One or more characteristic records were not inserted.')
|
||||||
@@ -470,6 +460,16 @@ public $records = [];
|
|||||||
// return;
|
// return;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
if ($insertedCount != count($this->records)) {
|
||||||
|
Notification::make()
|
||||||
|
->title('Failed to Save Production Characteristics')
|
||||||
|
->body('One or more characteristic records were not inserted.')
|
||||||
|
->danger()
|
||||||
|
->send();
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$this->showChecklist = false;
|
$this->showChecklist = false;
|
||||||
|
|
||||||
$this->dispatch('checklist-saved');
|
$this->dispatch('checklist-saved');
|
||||||
|
|||||||
Reference in New Issue
Block a user