Updated openapi

This commit is contained in:
Eclypsed
2024-04-09 11:37:17 -04:00
parent 8e52bd71c4
commit 998dc81143
4 changed files with 166 additions and 80 deletions

1
src/app.d.ts vendored
View File

@@ -107,7 +107,6 @@ declare global {
name: string
}
thumbnail?: string
description?: string
}
}

View File

@@ -11,10 +11,10 @@
$: serviceData = Services[connectionInfo.type]
const subHeaderItems: string[] = []
if ('username' in connectionInfo) {
if ('username' in connectionInfo && connectionInfo.username) {
subHeaderItems.push(connectionInfo.username)
}
if ('serverName' in connectionInfo) {
if ('serverName' in connectionInfo && connectionInfo.serverName) {
subHeaderItems.push(connectionInfo.serverName)
}
</script>