HTTPS section all done

This commit is contained in:
MattIPv4
2020-04-30 16:23:31 +01:00
parent fc6fd025b7
commit 361f3d8aa3
8 changed files with 323 additions and 39 deletions

View File

@@ -0,0 +1,8 @@
export default (prop, cat, key) => {
// Show as changed when enabled & not default
// Show php as changed when completely disabled (by reverse proxy)
// Show reverse proxy as changed when completely disabled (by php)
return (prop.enabled && prop.value !== prop.default)
|| (cat === 'php' && key === 'php' && prop.computed !== prop.default)
|| (cat === 'reverseProxy' && key === 'reverseProxy' && prop.computed !== prop.default);
};