session store if you have missing download
This commit is contained in:
parent
8d9fdc7220
commit
03564772aa
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue