mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 05:36:13 +08:00 
			
		
		
		
	Feat: Support auto theme in status pages
This commit is contained in:
		@@ -39,6 +39,9 @@ export default {
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (this.path.startsWith("/status-page") || this.path.startsWith("/status")) {
 | 
			
		||||
                if (this.statusPageTheme === "auto") {
 | 
			
		||||
                    return this.system;
 | 
			
		||||
                }
 | 
			
		||||
                return this.statusPageTheme;
 | 
			
		||||
            } else {
 | 
			
		||||
                if (this.userTheme === "auto") {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user