DEV: Remove string prototype extensions (#16736)
Context: https://deprecations.emberjs.com/v3.x/#toc_ember-string-prototype_extensions
This commit is contained in:
parent
9957929a15
commit
459060db0b
|
@ -34,7 +34,7 @@ export default Component.extend({
|
|||
"reviewable.target_created_by_trust_level"
|
||||
)
|
||||
customClasses(type, lastPerformingUsername, blurEnabled, trustLevel) {
|
||||
let classes = type.dasherize();
|
||||
let classes = dasherize(type);
|
||||
|
||||
if (lastPerformingUsername) {
|
||||
classes = `${classes} reviewable-stale`;
|
||||
|
|
Loading…
Reference in New Issue