mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
Import getProperties from @ember/object
This commit is contained in:

committed by
Robin Ward

parent
74869b8a7f
commit
fa56ba89a5
@ -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",
|
||||
|
Reference in New Issue
Block a user