move proxy related settings to new proxy tab for resource

This commit is contained in:
miloschwartz
2025-04-23 23:08:25 -04:00
parent f4fd33b47f
commit 91b4bb4683
14 changed files with 324 additions and 277 deletions

View File

@@ -25,7 +25,7 @@ export default async function SitesPage(props: SitesPageProps) {
function formatSize(mb: number, type: string): string {
if (type === "local") {
return "--"; // because we are not able to track the data use in a local site right now
return "-"; // because we are not able to track the data use in a local site right now
}
if (mb >= 1024 * 1024) {
return `${(mb / (1024 * 1024)).toFixed(2)} TB`;