mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	Use hideCount option for pagination
				
					
				
			This commit is contained in:
		
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
								
							@@ -61,10 +61,10 @@
 | 
				
			|||||||
        "args-parser": "~1.3.0",
 | 
					        "args-parser": "~1.3.0",
 | 
				
			||||||
        "axios": "~0.21.4",
 | 
					        "axios": "~0.21.4",
 | 
				
			||||||
        "bcryptjs": "~2.4.3",
 | 
					        "bcryptjs": "~2.4.3",
 | 
				
			||||||
        "bootstrap": "~5.1.1",
 | 
					        "bootstrap": "~5.1.3",
 | 
				
			||||||
        "bree": "~6.3.1",
 | 
					        "bree": "~6.3.1",
 | 
				
			||||||
        "chardet": "^1.3.0",
 | 
					        "chardet": "^1.3.0",
 | 
				
			||||||
        "chart.js": "~3.5.1",
 | 
					        "chart.js": "~3.6.0",
 | 
				
			||||||
        "chartjs-adapter-dayjs": "~1.0.0",
 | 
					        "chartjs-adapter-dayjs": "~1.0.0",
 | 
				
			||||||
        "check-password-strength": "^2.0.3",
 | 
					        "check-password-strength": "^2.0.3",
 | 
				
			||||||
        "command-exists": "~1.2.9",
 | 
					        "command-exists": "~1.2.9",
 | 
				
			||||||
@@ -93,9 +93,9 @@
 | 
				
			|||||||
        "tcp-ping": "~0.1.1",
 | 
					        "tcp-ping": "~0.1.1",
 | 
				
			||||||
        "thirty-two": "~1.0.2",
 | 
					        "thirty-two": "~1.0.2",
 | 
				
			||||||
        "timezones-list": "~3.0.1",
 | 
					        "timezones-list": "~3.0.1",
 | 
				
			||||||
        "v-pagination-3": "~0.1.6",
 | 
					        "v-pagination-3": "~0.1.7",
 | 
				
			||||||
        "vue": "next",
 | 
					        "vue": "next",
 | 
				
			||||||
        "vue-chart-3": "~0.5.8",
 | 
					        "vue-chart-3": "~0.5.11",
 | 
				
			||||||
        "vue-confirm-dialog": "~1.0.2",
 | 
					        "vue-confirm-dialog": "~1.0.2",
 | 
				
			||||||
        "vue-contenteditable": "~3.0.4",
 | 
					        "vue-contenteditable": "~3.0.4",
 | 
				
			||||||
        "vue-i18n": "~9.1.9",
 | 
					        "vue-i18n": "~9.1.9",
 | 
				
			||||||
@@ -110,9 +110,9 @@
 | 
				
			|||||||
        "@babel/eslint-parser": "~7.15.7",
 | 
					        "@babel/eslint-parser": "~7.15.7",
 | 
				
			||||||
        "@babel/preset-env": "^7.15.8",
 | 
					        "@babel/preset-env": "^7.15.8",
 | 
				
			||||||
        "@types/bootstrap": "~5.1.6",
 | 
					        "@types/bootstrap": "~5.1.6",
 | 
				
			||||||
        "@vitejs/plugin-legacy": "~1.6.1",
 | 
					        "@vitejs/plugin-legacy": "~1.6.2",
 | 
				
			||||||
        "@vitejs/plugin-vue": "~1.9.2",
 | 
					        "@vitejs/plugin-vue": "~1.9.4",
 | 
				
			||||||
        "@vue/compiler-sfc": "~3.2.19",
 | 
					        "@vue/compiler-sfc": "~3.2.20",
 | 
				
			||||||
        "babel-plugin-rewire": "~1.2.0",
 | 
					        "babel-plugin-rewire": "~1.2.0",
 | 
				
			||||||
        "core-js": "~3.18.1",
 | 
					        "core-js": "~3.18.1",
 | 
				
			||||||
        "cross-env": "~7.0.3",
 | 
					        "cross-env": "~7.0.3",
 | 
				
			||||||
@@ -126,6 +126,6 @@
 | 
				
			|||||||
        "stylelint": "~13.13.1",
 | 
					        "stylelint": "~13.13.1",
 | 
				
			||||||
        "stylelint-config-standard": "~22.0.0",
 | 
					        "stylelint-config-standard": "~22.0.0",
 | 
				
			||||||
        "typescript": "~4.4.3",
 | 
					        "typescript": "~4.4.3",
 | 
				
			||||||
        "vite": "~2.6.4"
 | 
					        "vite": "~2.6.13"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -83,9 +83,7 @@ export default {
 | 
				
			|||||||
            perPage: 25,
 | 
					            perPage: 25,
 | 
				
			||||||
            heartBeatList: [],
 | 
					            heartBeatList: [],
 | 
				
			||||||
            paginationConfig: {
 | 
					            paginationConfig: {
 | 
				
			||||||
                texts: {
 | 
					                hideCount: true,
 | 
				
			||||||
                    count: "",
 | 
					 | 
				
			||||||
                },
 | 
					 | 
				
			||||||
                chunksNavigation: "scroll",
 | 
					                chunksNavigation: "scroll",
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -209,9 +209,7 @@ export default {
 | 
				
			|||||||
            toggleCertInfoBox: false,
 | 
					            toggleCertInfoBox: false,
 | 
				
			||||||
            showPingChartBox: true,
 | 
					            showPingChartBox: true,
 | 
				
			||||||
            paginationConfig: {
 | 
					            paginationConfig: {
 | 
				
			||||||
                texts: {
 | 
					                hideCount: true,
 | 
				
			||||||
                    count: "",
 | 
					 | 
				
			||||||
                },
 | 
					 | 
				
			||||||
                chunksNavigation: "scroll",
 | 
					                chunksNavigation: "scroll",
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user