Skip to content

Commit

Permalink
fix(show-hide-when): remove whitespaces from conditions before check …
Browse files Browse the repository at this point in the history
…phase (#9573)
  • Loading branch information
Russian Rebouças authored and brandyscarney committed Jan 3, 2017
1 parent 3643803 commit cd342c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/show-hide-when/show-hide-when.ts
Expand Up @@ -15,7 +15,7 @@ export class DisplayWhen {

if (!conditions) return;

this.conditions = conditions.split(',');
this.conditions = conditions.replace(/\s/g, '').split(',');

// check if its one of the matching platforms first
// a platform does not change during the life of an app
Expand Down

0 comments on commit cd342c2

Please sign in to comment.