fixed issue with searcing
This commit is contained in:
@@ -7,7 +7,7 @@ let app: AppWithContext;
|
||||
let employeeCookie = "";
|
||||
|
||||
function firstHeader(value: string | string[] | undefined) {
|
||||
return Array.isArray(value) ? value[0] : value ?? "";
|
||||
return Array.isArray(value) ? (value[0] ?? "") : value ?? "";
|
||||
}
|
||||
|
||||
async function login(username: string) {
|
||||
|
||||
Reference in New Issue
Block a user