Do not check for unicorn/prefer-logical-operator-over-ternary

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2022-11-24 20:05:43 +01:00
parent 7a9cf91def
commit 7b172c5cbc
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -99,7 +99,8 @@
"unicorn/prefer-number-properties": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-string-slice": "off",
"unicorn/prevent-abbreviations": "off"
"unicorn/prevent-abbreviations": "off",
"unicorn/prefer-logical-operator-over-ternary": "off"
}
},
"dependencies": {}
+1 -1
View File
@@ -80,7 +80,7 @@ $(function () {
var replyid = parseInt(data[5], 10);
// DNSSEC status
var dnssecStatus;
var ede = data[11] ?? "";
var ede = data[11] ? data[11] : "";
switch (data[6]) {
case "1": {
dnssecStatus = '<br><span class="text-green">SECURE';