mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-24 18:00:40 +00:00
TypedAvatar.vue colored background
This commit is contained in:
@@ -38,8 +38,9 @@ class TeamFolderInvitation extends Model
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
static::creating(function ($model) {
|
||||
$model->id = Str::uuid();
|
||||
static::creating(function ($invitation) {
|
||||
$invitation->id = Str::uuid();
|
||||
$invitation->color = config('vuefilemanager.colors')[rand(0, 4)];
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user