mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 07:34:40 +08:00
FIX: Prettier to fix build (#8311)
This commit is contained in:

committed by
GitHub

parent
b3e8fbe7d4
commit
f8d69253e8
@ -44,7 +44,7 @@ export default Component.extend({
|
|||||||
animate(isInitial) {
|
animate(isInitial) {
|
||||||
const $container = $(this.element);
|
const $container = $(this.element);
|
||||||
const $list = $(this.element.querySelector(".components-list"));
|
const $list = $(this.element.querySelector(".components-list"));
|
||||||
if ($list.length === 0 || ENV.environment === 'test') {
|
if ($list.length === 0 || ENV.environment === "test") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const duration = 300;
|
const duration = 300;
|
||||||
|
@ -22,9 +22,7 @@ export default class Connector {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const container = getOwner
|
const container = getOwner ? getOwner(mounted) : mounted.container;
|
||||||
? getOwner(mounted)
|
|
||||||
: mounted.container;
|
|
||||||
|
|
||||||
let view;
|
let view;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user