fix
This commit is contained in:
@@ -50,7 +50,7 @@ class GithubPrivateRepositoryDeployKey extends Component
|
||||
];
|
||||
public function mount()
|
||||
{
|
||||
if (config('app.env') === 'local') {
|
||||
if (isDev()) {
|
||||
$this->repository_url = 'https://github.com/coollabsio/coolify-examples';
|
||||
}
|
||||
$this->parameters = getRouteParameters();
|
||||
|
||||
@@ -39,7 +39,7 @@ class PublicGitRepository extends Component
|
||||
];
|
||||
public function mount()
|
||||
{
|
||||
if (config('app.env') === 'local') {
|
||||
if (isDev()) {
|
||||
$this->repository_url = 'https://github.com/coollabsio/coolify-examples';
|
||||
$this->port = 3000;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ class InviteLink extends Component
|
||||
public string $role = 'member';
|
||||
public function mount()
|
||||
{
|
||||
$this->email = config('app.env') === 'local' ? 'test3@example.com' : '';
|
||||
$this->email = isDev() ? 'test3@example.com' : '';
|
||||
}
|
||||
public function viaEmail()
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ class Upgrade extends Component
|
||||
$latestVersion = get_latest_version_of_coolify();
|
||||
$currentVersion = config('version');
|
||||
version_compare($currentVersion, $latestVersion, '<') ? $this->isUpgradeAvailable = true : $this->isUpgradeAvailable = false;
|
||||
if (config('app.env') === 'local') {
|
||||
if (isDev()) {
|
||||
$this->isUpgradeAvailable = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user