fix: slash in env names

ui: placement of env switcher
This commit is contained in:
Andras Bacsai committed 2024-06-23 17:47:58 +02:00
1 parent a3255f3ab0
commit 76ba365325
5 files changed
+28 -21

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ class Environment extends Model
protected function name(): Attribute
{
return Attribute::make(
set: fn (string $value) => strtolower($value),
set: fn (string $value) => str($value)->lower()->trim()->replace('/', '-')->toString(),
);
}
}