mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
fix frontend react error
This commit is contained in:
committed by
René Pfeuffer
parent
a0e7073bdf
commit
2087c27671
@@ -41,5 +41,5 @@ export function createHunkIdentifierFromContext(ctx: BaseContext) {
|
||||
}
|
||||
|
||||
export function escapeWhitespace(path: string) {
|
||||
return path.toLowerCase().replace(/\W/g, "-");
|
||||
return path?.toLowerCase().replace(/\W/g, "-");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user