File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Filament/RelationManagers Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -270,9 +270,7 @@ public static function getPluralModelLabel(): string
270270
271271 protected function getSchemaOptions (): array
272272 {
273- if (! $ this ->ownerRecord ) {
274- return [];
275- }
273+
276274
277275 $ options = \Backstage \Fields \Models \Schema::where ('model_key ' , $ this ->ownerRecord ->getKey ())
278276 ->where ('model_type ' , get_class ($ this ->ownerRecord ))
Original file line number Diff line number Diff line change 2828 * @property \Carbon\Carbon $updated_at
2929 * @property-read \Illuminate\Database\Eloquent\Model|null $model
3030 * @property-read \Illuminate\Database\Eloquent\Collection<int, \Backstage\Fields\Models\Field> $fields
31- * @property-read \Illuminate\Database\Eloquent\Model |null $parent
31+ * @property-read Schema |null $parent
3232 * @property-read \Illuminate\Database\Eloquent\Collection<int, Schema> $children
3333 */
3434class Schema extends Model
You can’t perform that action at this time.
0 commit comments