Python section all done

This commit is contained in:
MattIPv4
2020-04-30 16:44:21 +01:00
parent b611b039a0
commit 969d610831
4 changed files with 111 additions and 16 deletions

View File

@@ -1,8 +1,6 @@
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)
// Show php as changed when completely disabled (by reverse proxy or python)
return (prop.enabled && prop.value !== prop.default)
|| (cat === 'php' && key === 'php' && prop.computed !== prop.default)
|| (cat === 'reverseProxy' && key === 'reverseProxy' && prop.computed !== prop.default);
|| (cat === 'php' && key === 'php' && prop.computed !== prop.default);
};