diff --git a/laravel_app/app/Livewire/Components/DownloadNotification.php b/laravel_app/app/Livewire/Components/DownloadNotification.php index 9256d9e..83ea626 100644 --- a/laravel_app/app/Livewire/Components/DownloadNotification.php +++ b/laravel_app/app/Livewire/Components/DownloadNotification.php @@ -13,9 +13,8 @@ class DownloadNotification extends Component public function mount(Project $project) { - $this->show_download_notification = session()->get('show-download.'.$project->id,false); + $this->show_download_notification = session()->get('show-download.'.$project->id,$project->hasMissingDownloadsDateInHarvestFile()); $this->project = $project; - } public function getSessionKey()