From 80c3210c42d22e995e5ad044f702f1b744b7713a Mon Sep 17 00:00:00 2001 From: UndefinedOffset Date: Fri, 27 Sep 2024 14:48:55 -0300 Subject: [PATCH] FIX FileLink does not own the File --- src/Models/FileLink.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Models/FileLink.php b/src/Models/FileLink.php index 22dbe175..4dafc026 100644 --- a/src/Models/FileLink.php +++ b/src/Models/FileLink.php @@ -21,6 +21,10 @@ class FileLink extends Link 'File' => File::class, ]; + private static $owns = [ + 'File', + ]; + private static int $menu_priority = 10; private static $icon = 'font-icon-image';