Updated openapi
This commit is contained in:
1
src/app.d.ts
vendored
1
src/app.d.ts
vendored
@@ -107,7 +107,6 @@ declare global {
|
||||
name: string
|
||||
}
|
||||
thumbnail?: string
|
||||
description?: string
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user