Update HasCellState.php

This commit is contained in:
Dan Harrin
2025-04-07 10:57:35 +01:00
parent f5cf22efac
commit ddbf56d410
@@ -310,6 +310,10 @@ trait HasCellState
$recordKey = (string) $record->getKey();
if (blank($recordKey)) {
return $state();
}
if (array_key_exists($recordKey, $this->cachedState)) {
return $this->cachedState[$recordKey];
}