acc. draft mode, take care of ADMIN role or on own listings
This commit is contained in:
@@ -198,6 +198,9 @@ export function isEmpty(value: any): boolean {
|
||||
return false;
|
||||
}
|
||||
export function emailToDirName(email: string): string {
|
||||
if (email === undefined || email === null) {
|
||||
return null;
|
||||
}
|
||||
// Entferne ungültige Zeichen und ersetze sie durch Unterstriche
|
||||
const sanitizedEmail = email.replace(/[^a-zA-Z0-9_-]/g, '_');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user