mirror of
https://github.com/discourse/discourse.git
synced 2025-06-29 00:02:52 +08:00
REFACTOR: Ember.makeArray
was removed from the public API
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { makeArray } from "discourse/lib/utilities";
|
||||
import { debounce } from "@ember/runloop";
|
||||
import { schedule } from "@ember/runloop";
|
||||
import Component from "@ember/component";
|
||||
@ -52,7 +53,7 @@ export default Component.extend({
|
||||
|
||||
const context = chartCanvas.getContext("2d");
|
||||
|
||||
const chartData = Ember.makeArray(
|
||||
const chartData = makeArray(
|
||||
model.get("chartData") || model.get("data")
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user