From 833e4e61c9006581fa9fce05594ae2508cf69cfe Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Thu, 31 Jul 2025 10:04:23 -0500 Subject: [PATCH] Use Object.assign instead of ember/pollyfills assign --- addon/components/initials/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addon/components/initials/index.js b/addon/components/initials/index.js index db41be0..2a44370 100644 --- a/addon/components/initials/index.js +++ b/addon/components/initials/index.js @@ -2,7 +2,6 @@ import ImageAvatarComponent from '../image'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; import { reads } from '@ember/object/computed'; -import { assign } from '@ember/polyfills'; import initialsFor from 'ember-initials/utils/initials'; import Store from 'ember-initials/utils/store'; @@ -108,7 +107,7 @@ class InitialsAvatarComponent extends ImageAvatarComponent { } set backgroundStyles(value) { - return this._backgroundStyles = assign({}, this.defaultBackgroundStyles, value); + return this._backgroundStyles = Object.assign({}, this.defaultBackgroundStyles, value); } get textStyles() { @@ -116,7 +115,7 @@ class InitialsAvatarComponent extends ImageAvatarComponent { } set textStyles(value) { - return this._textStyles = assign({}, this.defaultTextStyles, value); + return this._textStyles = Object.assign({}, this.defaultTextStyles, value); } get backgroundColor() {