0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

Convert boolean to is

Dieser Commit ist enthalten in:
Angus McLeod 2020-05-01 19:12:58 +10:00
Ursprung 379e839b71
Commit d3eaceefe1
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -32,7 +32,7 @@ const connectors = {
'greater_or_equal', 'greater_or_equal',
'less_or_equal', 'less_or_equal',
'regex', 'regex',
'boolean' 'is'
], ],
output: [ output: [
'then', 'then',

Datei anzeigen

@ -176,7 +176,7 @@ en:
less_or_equal: '<=' less_or_equal: '<='
regex: '=~' regex: '=~'
association: '→' association: '→'
boolean: 'is' is: 'is'
action: action:
header: "Actions" header: "Actions"

Datei anzeigen

@ -15,7 +15,7 @@ class CustomWizard::Mapper
greater_or_equal: '>=', greater_or_equal: '>=',
less_or_equal: '<=', less_or_equal: '<=',
regex: '=~', regex: '=~',
boolean: { is: {
present: "present?", present: "present?",
true: "==", true: "==",
false: "==" false: "=="