7338 refactor actionbar and contextmenu to use the context store (#7462)
Closes #7338
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
export const turnIntoUndefinedIfWhitespacesOnly = (
|
||||
value: string,
|
||||
): string | undefined => {
|
||||
return value.trim() === '' ? undefined : value.trim();
|
||||
return value.trim() === '' ? undefined : value;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user