UI: Remove usage of htmlSafe (#20235)

This commit is contained in:
Chelsea Shaw
2023-04-19 10:40:33 -05:00
committed by GitHub
parent 98786d96c7
commit fae1bffd1c
17 changed files with 76 additions and 24 deletions

View File

@@ -5,7 +5,6 @@
import Component from '@ember/component';
import { computed } from '@ember/object';
import { htmlSafe } from '@ember/template';
import layout from '../templates/components/confirm';
import { next } from '@ember/runloop';
@@ -34,7 +33,7 @@ export default Component.extend({
height: 0,
focusTrigger: null,
style: computed('height', function () {
return htmlSafe(`height: ${this.height}px`);
return `height: ${this.height}px`;
}),
wormholeReference: null,
wormholeId: computed('elementId', function () {