Simplify computed propery
This commit is contained in:
parent
81bffccf01
commit
199e68ff29
1 changed files with 1 additions and 5 deletions
|
@ -564,11 +564,7 @@ class Importer extends Component
|
||||||
#[Computed]
|
#[Computed]
|
||||||
public function activeFile()
|
public function activeFile()
|
||||||
{
|
{
|
||||||
if ($this->activeFileId) {
|
return Import::find($this->activeFileId);
|
||||||
return Import::find($this->activeFileId);
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render()
|
public function render()
|
||||||
|
|
Loading…
Add table
Reference in a new issue