mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(show-hide-when): remove whitespaces from conditions before check phase (#9573)
This commit is contained in:

committed by
Brandy Carney

parent
3643803230
commit
cd342c29d4
@ -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
|
||||
|
Reference in New Issue
Block a user