From 700008f5ea4112ae6ecc44cba1f44074226b547b Mon Sep 17 00:00:00 2001 From: merefield Date: Thu, 5 Oct 2023 21:22:54 +0100 Subject: [PATCH] COMPATBILITY: update import location for getOwner --- .../javascripts/discourse/components/sidebar-container.js.es6 | 2 +- plugin.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/components/sidebar-container.js.es6 b/assets/javascripts/discourse/components/sidebar-container.js.es6 index 273adabc..bcc71719 100644 --- a/assets/javascripts/discourse/components/sidebar-container.js.es6 +++ b/assets/javascripts/discourse/components/sidebar-container.js.es6 @@ -5,7 +5,7 @@ import { on, } from "discourse-common/utils/decorators"; import { alias } from "@ember/object/computed"; -import { getOwner } from "discourse-common/lib/get-owner"; +import { getOwner } from "@ember/application"; import { scheduleOnce } from "@ember/runloop"; import { getAttrFromContext } from "../lib/layouts"; import { inject as service } from "@ember/service"; diff --git a/plugin.rb b/plugin.rb index 23fdcec8..736f6d8f 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-layouts # about: A framework for custom Discourse layouts. -# version: 0.3.3 +# version: 0.3.4 # authors: Angus McLeod, Keegan George # contact_emails: development@pavilion.tech # url: https://github.com/paviliondev/discourse-layouts