From 2e241d8e475faa4420ca80d8cad33a2a28c9615a Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Thu, 15 Dec 2022 16:12:42 +0100 Subject: [PATCH] publishing library items --- app/Nova/LibraryItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Nova/LibraryItem.php b/app/Nova/LibraryItem.php index 6955d4f4..800ba298 100644 --- a/app/Nova/LibraryItem.php +++ b/app/Nova/LibraryItem.php @@ -71,7 +71,7 @@ class LibraryItem extends Resource StatusField::make('Status',) ->icons([ - 'clock' => $this->status === 'draft', + 'clock' => $this->status === '' || $this->status === 'draft', 'check-circle' => $this->status === 'published', ]) ->tooltip([