mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-16 16:34:47 +00:00
FIX: group name can have dash and capital letters
This commit is contained in:
parent
9956b9833e
commit
34af6a5d54
@ -106,11 +106,8 @@ export default Ember.Component.extend({
|
||||
return g.id === intVal;
|
||||
});
|
||||
} else {
|
||||
if (value !== value.underscore()) {
|
||||
this.set('value', value.underscore());
|
||||
}
|
||||
return !!groups.find(function(g) {
|
||||
return g.name === value.underscore();
|
||||
return g.name === value;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user