mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
feat(canvas): add interactive resource views and team avatars (#12160)
This commit is contained in:
1 parent
448dc8ea0a
commit
33ee09fa87
146 files changed
+12076
-367
No files matched your search
@@ -10,6 +10,7 @@ use App\Models\Project;
|
||||
use App\Models\Server;
|
||||
use App\Models\Service;
|
||||
use App\Models\SharedEnvironmentVariable;
|
||||
use App\Services\SharedVariableCanvas;
|
||||
use App\Support\ValidationPatterns;
|
||||
use App\Traits\EnvironmentVariableAnalyzer;
|
||||
use App\Traits\EnvironmentVariableProtection;
|
||||
@@ -404,6 +405,15 @@ class Show extends Component
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Shared variables only: the connect envs canvas with this variable selected.
|
||||
*/
|
||||
#[Computed]
|
||||
public function connectLink(): ?string
|
||||
{
|
||||
return $this->isSharedVariable ? app(SharedVariableCanvas::class)->connectLink($this->env) : null;
|
||||
}
|
||||
|
||||
#[Computed]
|
||||
public function availableSharedVariables(): array
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user