This commit is contained in:
parent
8287e620d8
commit
84a292003e
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ export default class List extends PureComponent {
|
|||
case CategoryTypes.DIRECT_MESSAGES:
|
||||
return CategoryTypes.DIRECT_MESSAGES.toLowerCase();
|
||||
default:
|
||||
return name.replaceAll(' ', '_').toLowerCase();
|
||||
return name.replace(/ /g, '_').toLowerCase();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue