Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
Apply prettier
Dieser Commit ist enthalten in:
Ursprung
5abc0f4a4c
Commit
ede6752619
2 geänderte Dateien mit 3 neuen und 7 gelöschten Zeilen
|
@ -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,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Laden …
In neuem Issue referenzieren