1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 03:03:33 +00:00

Revert [PM-6201] (#5143)

* Revert "[PM-6201] Fix creation of organizations no longer working after merging #5130 (#5142)"

This reverts commit 64573d01a3.

* Revert "[PM-6201] Self-Host Admin Portal is reporting "10239 GB of Additional… (#5130)"

This reverts commit 674e522843.
This commit is contained in:
Jonas Hendrickx
2024-12-11 15:19:38 +01:00
committed by GitHub
parent 64573d01a3
commit c99b4106f5
2 changed files with 10 additions and 3 deletions

View File

@@ -10,6 +10,4 @@ public class OrganizationsModel : PagedModel<Organization>
public bool? Paid { get; set; }
public string Action { get; set; }
public bool SelfHosted { get; set; }
public double StorageGB(Organization org) => org.Storage.HasValue ? Math.Round(org.Storage.Value / 1073741824D, 2) : 0;
}