diff --git a/app/assets/javascripts/admin/addon/components/tags-uploader.js b/app/assets/javascripts/admin/addon/components/tags-uploader.js index 1dc3bfc4673..dcd57a45fd8 100644 --- a/app/assets/javascripts/admin/addon/components/tags-uploader.js +++ b/app/assets/javascripts/admin/addon/components/tags-uploader.js @@ -1,14 +1,15 @@ import Component from "@ember/component"; import I18n from "I18n"; -import UploadMixin from "discourse/mixins/upload"; +import UppyUploadMixin from "discourse/mixins/uppy-upload"; import { alias } from "@ember/object/computed"; import bootbox from "bootbox"; -export default Component.extend(UploadMixin, { +export default Component.extend(UppyUploadMixin, { type: "csv", uploadUrl: "/tags/upload", addDisabled: alias("uploading"), elementId: "tag-uploader", + preventDirectS3Uploads: true, validateUploadedFilesOptions() { return { csvOnly: true };