mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
SECURITY: updates lodash from 1.3.0 to 4.17.5 (#7546)
This commit is contained in:
@ -138,7 +138,7 @@ const Theme = RestModel.extend({
|
||||
@computed("theme_fields", "theme_fields.@each.error")
|
||||
isBroken(fields) {
|
||||
return (
|
||||
fields && fields.some(field => field.error && field.error.length > 0)
|
||||
fields && fields.any(field => field.error && field.error.length > 0)
|
||||
);
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user