Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix: replace *underscores*
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir authored and joshuawilson committed Apr 26, 2017
1 parent 7c9d2ea commit 9190f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/spaces/space-name.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { Pipe, PipeTransform } from '@angular/core';
@Pipe({ name: 'spaceName', pure: true })
export class SpaceNamePipe implements PipeTransform {
transform(name: string): any {
return name ? name.replace(/ /g, ' ') : name;
return name ? name.replace(/_/g, ' ') : name;
}
}

0 comments on commit 9190f47

Please sign in to comment.