mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 16:17:10 +00:00
fix(ui): show GitLab Connected badge beside title
Match application status layout by placing the Connected badge next to the page heading, and drop the redundant Disconnect action (re-auth is done via Connect after tokens expire or credentials are updated).
This commit is contained in:
1 parent
9299340944
commit
94c3129ad1
2 files changed
+4
-29
No files matched your search
@@ -319,24 +319,6 @@ class Change extends Component
|
||||
}
|
||||
}
|
||||
|
||||
public function disconnect()
|
||||
{
|
||||
try {
|
||||
$this->authorize('update', $this->gitlab_app);
|
||||
|
||||
$this->gitlab_app->update([
|
||||
'access_token' => null,
|
||||
'refresh_token' => null,
|
||||
'expires_at' => null,
|
||||
]);
|
||||
|
||||
$this->isConnected = false;
|
||||
$this->dispatch('success', 'GitLab App disconnected.');
|
||||
} catch (\Throwable $e) {
|
||||
return handleError($e, $this);
|
||||
}
|
||||
}
|
||||
|
||||
public function delete()
|
||||
{
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user