mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
feat(canvas): add interactive resource views and team avatars (#12160)
This commit is contained in:
@@ -10,6 +10,7 @@ use App\Notifications\Channels\SendsEmail;
|
||||
use App\Notifications\Channels\SendsPushover;
|
||||
use App\Notifications\Channels\SendsSlack;
|
||||
use App\Notifications\Server\Unreachable;
|
||||
use App\Services\TeamAvatarStorageService;
|
||||
use App\Traits\Auditable;
|
||||
use App\Traits\HasNotificationSettings;
|
||||
use App\Traits\HasSafeStringAttribute;
|
||||
@@ -123,6 +124,10 @@ class Team extends Model implements SendsDiscord, SendsEmail, SendsPushover, Sen
|
||||
$s3->delete();
|
||||
}
|
||||
});
|
||||
|
||||
static::deleted(function (Team $team) {
|
||||
app(TeamAvatarStorageService::class)->deleteTeamFile($team);
|
||||
});
|
||||
}
|
||||
|
||||
public static function serverLimitReached(?Team $team = null)
|
||||
|
||||
Reference in New Issue
Block a user