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:
Andras Bacsai committed 2026-07-21 21:19:48 +02:00
1 parent 9299340944
commit 94c3129ad1
2 files changed
+4 -29

No files matched your search

-18
View File
@@ -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 {