DEV: Update htmlSafe imports (#26776)
This commit is contained in:
parent
261ef8404e
commit
cf11e556cb
|
@ -1,6 +1,6 @@
|
|||
import Component from "@glimmer/component";
|
||||
import { cached } from "@glimmer/tracking";
|
||||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import BooleanField from "admin/components/schema-theme-setting/types/boolean";
|
||||
import CategoriesField from "admin/components/schema-theme-setting/types/categories";
|
||||
import EnumField from "admin/components/schema-theme-setting/types/enum";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
|
||||
<template>
|
||||
<div class="desc">{{htmlSafe @description}}</div>
|
||||
|
|
|
@ -4,6 +4,7 @@ import { Input } from "@ember/component";
|
|||
import { on } from "@ember/modifier";
|
||||
import { action } from "@ember/object";
|
||||
import { service } from "@ember/service";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import { Promise } from "rsvp";
|
||||
import ConditionalLoadingSection from "discourse/components/conditional-loading-section";
|
||||
import DButton from "discourse/components/d-button";
|
||||
|
@ -14,7 +15,6 @@ import { topicLevels } from "discourse/lib/notification-levels";
|
|||
import Category from "discourse/models/category";
|
||||
import Topic from "discourse/models/topic";
|
||||
import autoFocus from "discourse/modifiers/auto-focus";
|
||||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
import CategoryChooser from "select-kit/components/category-chooser";
|
||||
import TagChooser from "select-kit/components/tag-chooser";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { htmlSafe } from "@ember/template";
|
||||
import DButton from "discourse/components/d-button";
|
||||
import replaceEmoji from "discourse/helpers/replace-emoji";
|
||||
import dIcon from "discourse-common/helpers/d-icon";
|
||||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import ChatUserAvatar from "./chat-user-avatar";
|
||||
|
||||
const ChatComposerMessageDetails = <template>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import Component from "@glimmer/component";
|
||||
import { LinkTo } from "@ember/routing";
|
||||
import { service } from "@ember/service";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import replaceEmoji from "discourse/helpers/replace-emoji";
|
||||
import dIcon from "discourse-common/helpers/d-icon";
|
||||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import ChatEmojiAvatar from "./chat-emoji-avatar";
|
||||
import ChatUserAvatar from "./chat-user-avatar";
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import Component from "@glimmer/component";
|
||||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
import { isCollapsible } from "discourse/plugins/chat/discourse/components/chat-message-collapser";
|
||||
import ChatMessageCollapser from "./chat-message-collapser";
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import Component from "@glimmer/component";
|
||||
import { LinkTo } from "@ember/routing";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import formatDate from "discourse/helpers/format-date";
|
||||
import replaceEmoji from "discourse/helpers/replace-emoji";
|
||||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
import ChatThreadParticipants from "./chat-thread-participants";
|
||||
import ChatUserAvatar from "./chat-user-avatar";
|
||||
|
|
|
@ -2,9 +2,9 @@ import Component from "@glimmer/component";
|
|||
import { action } from "@ember/object";
|
||||
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
|
||||
import { service } from "@ember/service";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import replaceEmoji from "discourse/helpers/replace-emoji";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import I18n from "discourse-i18n";
|
||||
import Navbar from "discourse/plugins/chat/discourse/components/chat/navbar";
|
||||
import ChatThreadList from "discourse/plugins/chat/discourse/components/chat-thread-list";
|
||||
|
|
|
@ -3,10 +3,10 @@ import { cached } from "@glimmer/tracking";
|
|||
import { array } from "@ember/helper";
|
||||
import { LinkTo } from "@ember/routing";
|
||||
import { service } from "@ember/service";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import { or } from "truth-helpers";
|
||||
import ReviewableCreatedBy from "discourse/components/reviewable-created-by";
|
||||
import ReviewablePostHeader from "discourse/components/reviewable-post-header";
|
||||
import htmlSafe from "discourse-common/helpers/html-safe";
|
||||
import i18n from "discourse-common/helpers/i18n";
|
||||
import ChannelTitle from "discourse/plugins/chat/discourse/components/channel-title";
|
||||
import ChatChannel from "discourse/plugins/chat/discourse/models/chat-channel";
|
||||
|
|
Loading…
Reference in New Issue