More fixes
authorTheSaminator <TheSaminator@users.noreply.github.com>
Mon, 7 Feb 2022 18:15:44 +0000 (13:15 -0500)
committerTheSaminator <TheSaminator@users.noreply.github.com>
Mon, 7 Feb 2022 18:15:44 +0000 (13:15 -0500)
src/jvmMain/kotlin/starshipfights/info/views_user.kt

index e5e95615605ac7c62315f0421e8217b224cc44c2..7e171b4862b990321a16bc42b9ad2fda28babc9f 100644 (file)
@@ -143,6 +143,10 @@ suspend fun ApplicationCall.manageUserPage(): HTML.() -> Unit {
                                                        }
                                                }
                                                td {
+                                                       if (session.id == currentSession.id) {
+                                                               +"Current Session"
+                                                               br
+                                                       }
                                                        a(href = "/logout/${session.id}") { +"Logout" }
                                                }
                                        }