whitecube / nova-flexible-content

Flexible Content & Repeater Fields for Laravel Nova
MIT License
788 stars 228 forks source link

Add use statement for Layout class #384

Closed dinandmentink closed 2 years ago

dinandmentink commented 2 years ago

Required by while ($model instanceof Layout).

Fixes issue where sublayouts cannot be resolved to the Media model as described in https://github.com/whitecube/nova-flexible-content/pull/358.

voidgraphics commented 2 years ago

Nice catch :) thank you

voidgraphics commented 2 years ago

Just tagged v1.0.2 with this fix.

dinandmentink commented 2 years ago

Thanks for the quick response!

Using Flexible Content in production on different websites now and really happy with it.