Import getProperties from @ember/object

This commit is contained in:
Mark VanLandingham
2019-11-04 09:56:16 -06:00
committed by Robin Ward
parent 74869b8a7f
commit fa56ba89a5
3 changed files with 6 additions and 3 deletions

View File

@ -23,6 +23,7 @@ import PreloadStore from "preload-store";
import { defaultHomepage } from "discourse/lib/utilities";
import { userPath } from "discourse/lib/url";
import Category from "discourse/models/category";
import { getProperties } from "@ember/object";
export const SECOND_FACTOR_METHODS = {
TOTP: 1,
@ -350,7 +351,7 @@ const User = RestModel.extend({
})
.then(result => {
this.set("bio_excerpt", result.user.bio_excerpt);
const userProps = Ember.getProperties(
const userProps = getProperties(
this.user_option,
"enable_quoting",
"enable_defer",