mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Do not check for unicorn/prefer-logical-operator-over-ternary
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
+2
-1
@@ -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": {}
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user