Skip to content

Commit 3020473

Browse files
committed
use let instead of git add .
1 parent 3202bb8 commit 3020473

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/coder/gateway/views/CoderGatewayRecentWorkspaceConnectionsView.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ class CoderGatewayRecentWorkspaceConnectionsView(private val setContentCallback:
213213
// We only display an API error on the first workspace rather than duplicating it on each workspace.
214214
if (deploymentError == null || showError) {
215215
row {
216-
if (status.third != null) {
217-
icon(status.third!!)
216+
status.third?.let {
217+
icon(it)
218218
}
219219
label("<html><body style='width:350px;'>" + status.second + "</html>").applyToComponent {
220220
foreground = status.first

0 commit comments

Comments
 (0)