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

Reviewed-on: #1549
This commit was merged in pull request #1549.
This commit is contained in:
2026-11-28 05:40:18 +00:00

View File

@@ -450,17 +450,7 @@ public $records = [];
}
}
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)) {
// if (! $prod) {
// Notification::make()
// ->title('Failed to Save Production Characteristics')
// ->body('One or more characteristic records were not inserted.')
@@ -470,6 +460,16 @@ public $records = [];
// 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->dispatch('checklist-saved');