From 0c8ae1e8492f386caa464b4de5f53b19e0d43edb Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 11 Nov 2019 09:25:33 -0500 Subject: [PATCH] FIX: More missing RSVP imports --- app/assets/javascripts/discourse/models/static-page.js.es6 | 2 ++ app/assets/javascripts/discourse/models/topic.js.es6 | 1 + 2 files changed, 3 insertions(+) diff --git a/app/assets/javascripts/discourse/models/static-page.js.es6 b/app/assets/javascripts/discourse/models/static-page.js.es6 index 57bb3cc2df2..7ec19c23b77 100644 --- a/app/assets/javascripts/discourse/models/static-page.js.es6 +++ b/app/assets/javascripts/discourse/models/static-page.js.es6 @@ -1,5 +1,7 @@ import EmberObject from "@ember/object"; import { ajax } from "discourse/lib/ajax"; +import { Promise } from "rsvp"; + const StaticPage = EmberObject.extend(); StaticPage.reopenClass({ diff --git a/app/assets/javascripts/discourse/models/topic.js.es6 b/app/assets/javascripts/discourse/models/topic.js.es6 index ca41597cfd9..39e6464bfa5 100644 --- a/app/assets/javascripts/discourse/models/topic.js.es6 +++ b/app/assets/javascripts/discourse/models/topic.js.es6 @@ -20,6 +20,7 @@ import { } from "discourse-common/utils/decorators"; import Category from "discourse/models/category"; import Session from "discourse/models/session"; +import { Promise } from "rsvp"; export function loadTopicView(topic, args) { const data = _.merge({}, args);