mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 00:39:17 +00:00
DEV: Avoid relative paths when importing in plugins.
This commit is contained in:
parent
ad7c964cd1
commit
c5ef465179
@ -12,7 +12,8 @@ import {
|
||||
EDITING,
|
||||
COMPOSER_TYPE,
|
||||
KEEP_ALIVE_DURATION_SECONDS
|
||||
} from "../lib/presence";
|
||||
} from "discourse/plugins/discourse-presence/discourse/lib/presence";
|
||||
|
||||
import { REPLY, EDIT } from "discourse/models/composer";
|
||||
|
||||
export default Component.extend({
|
||||
|
@ -2,7 +2,7 @@ import Component from "@ember/component";
|
||||
import { gt } from "@ember/object/computed";
|
||||
import { inject as service } from "@ember/service";
|
||||
import discourseComputed, { on } from "discourse-common/utils/decorators";
|
||||
import { TOPIC_TYPE } from "../lib/presence";
|
||||
import { TOPIC_TYPE } from "discourse/plugins/discourse-presence/discourse/lib/presence";
|
||||
|
||||
export default Component.extend({
|
||||
topic: null,
|
||||
|
@ -1,5 +1,7 @@
|
||||
import Service from "@ember/service";
|
||||
import Presence, { CLOSED } from "../lib/presence";
|
||||
import Presence, {
|
||||
CLOSED
|
||||
} from "discourse/plugins/discourse-presence/discourse/lib/presence";
|
||||
|
||||
const PresenceManager = Service.extend({
|
||||
presences: null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user