1
0
Fork 0
Dieser Commit ist enthalten in:
angusmcleod 2021-10-20 22:00:30 +08:00
Ursprung 5abc0f4a4c
Commit ede6752619
2 geänderte Dateien mit 3 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -24,11 +24,7 @@ const customFieldActionMap = {
user: ["update_profile"], user: ["update_profile"],
}; };
const values = [ const values = ["present", "true", "false"];
"present",
"true",
"false"
];
export default Component.extend({ export default Component.extend({
classNameBindings: [":mapper-selector", "activeType"], classNameBindings: [":mapper-selector", "activeType"],
@ -284,7 +280,7 @@ export default Component.extend({
if (activeType === "value") { if (activeType === "value") {
content = values.map((value) => ({ content = values.map((value) => ({
id: value, id: value,
name: value name: value,
})); }));
} }

Datei anzeigen

@ -105,7 +105,7 @@ const selectionTypes = [
"tag", "tag",
"user", "user",
"customField", "customField",
"value" "value",
]; ];
function defaultSelectionType(inputType, options = {}, connector = null) { function defaultSelectionType(inputType, options = {}, connector = null) {