Skip to content

Commit d2bca87

Browse files
authored
Fix table not refreshing when status changes (#217)
1 parent 8e2fd05 commit d2bca87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/com/coder/gateway/models/WorkspaceAgentModel.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ data class WorkspaceAgentModel(
3232
if (name != other.name) return false
3333
if (templateID != other.templateID) return false
3434
if (templateName != other.templateName) return false
35+
if (agentStatus != other.agentStatus) return false
3536

3637
return true
3738
}
@@ -42,6 +43,7 @@ data class WorkspaceAgentModel(
4243
result = 31 * result + name.hashCode()
4344
result = 31 * result + templateID.hashCode()
4445
result = 31 * result + templateName.hashCode()
46+
result = 31 * result + agentStatus.hashCode()
4547
return result
4648
}
4749
}

0 commit comments

Comments
 (0)