mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-21 08:25:45 +00:00
Merge remote-tracking branch 'origin/next' into fix/backup-ssh-command-timeout-next
This commit is contained in:
@@ -38,7 +38,7 @@ class Index extends Component
|
||||
|
||||
public $avatar;
|
||||
|
||||
public function uploadAvatar(AvatarStorageService $avatarStorage): void
|
||||
public function uploadAvatar(AvatarStorageService $avatarStorage): bool
|
||||
{
|
||||
try {
|
||||
$this->validate([
|
||||
@@ -49,8 +49,12 @@ class Index extends Component
|
||||
$this->reset('avatar');
|
||||
$this->dispatch('avatar-updated', url: route('profile.avatar', ['v' => Auth::user()->fresh()->updated_at->timestamp]));
|
||||
$this->dispatch('success', 'Profile picture updated.');
|
||||
|
||||
return true;
|
||||
} catch (\Throwable $e) {
|
||||
handleError($e, $this);
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -130,6 +130,7 @@ class Domains extends Component
|
||||
$application->setNoindexDomains($domains);
|
||||
$application->save();
|
||||
$this->service->parse();
|
||||
$this->refreshDomains();
|
||||
$this->dispatch('configurationChanged')->to(ConfigurationChecker::class);
|
||||
$this->dispatch('success', 'Search engine indexing updated.');
|
||||
}
|
||||
|
||||
@@ -22,6 +22,11 @@ class Index extends Component
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.team.member.index');
|
||||
$members = currentTeam()->members;
|
||||
|
||||
return view('livewire.team.member.index', [
|
||||
'members' => $members,
|
||||
'membersWithoutTwoFactorCount' => $members->whereNull('two_factor_confirmed_at')->count(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user