refactor: Remove unused variables and improve code readability

This commit is contained in:
Andras Bacsai
2024-06-06 11:09:27 +02:00
parent f71a8e9fef
commit 463021a9f3
4 changed files with 2 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ class CreateScheduledBackup extends Component
];
public function mount()
{
$this->s3s = currentTeam()->s3s;
if ($this->s3s->count() > 0) {
$this->s3_storage_id = $this->s3s->first()->id;
}