DEV: Remove string prototype extensions (#16736)

Context: https://deprecations.emberjs.com/v3.x/#toc_ember-string-prototype_extensions
This commit is contained in:
Isaac Janzen 2022-05-12 09:23:23 -05:00 committed by GitHub
parent 9957929a15
commit 459060db0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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`;