1
0
mirror of synced 2026-08-31 22:44:33 +00:00

FIX: Intializer regression (#193)

This commit is contained in:
Jarek Radosz
2022-03-07 00:19:21 +01:00
committed by GitHub
parent 7c50330e04
commit 4a3ceaca9c
@@ -1,5 +1,5 @@
import Category from "discourse/models/category";
import { computed } from "@ember/object";
import { computed, get } from "@ember/object";
export default {
name: "extend-category-for-solved",
@@ -12,7 +12,7 @@ export default {
"custom_fields.enable_accepted_answers",
{
get(fieldName) {
return this.get(this.custom_fields, fieldName) === "true";
return get(this.custom_fields, fieldName) === "true";
},
}
),