We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa97ed commit caa087cCopy full SHA for caa087c
1 file changed
Opserver/Views/SQL/Databases.Modal.Storage.cshtml
@@ -9,7 +9,7 @@
9
var files = filesRaw?.Data?.Where(f => f.DatabaseId == db?.Id).OrderBy(f => f.FileType).ThenBy(f => f.PhysicalName);
10
var tablesRaw = i?.GetTableInfo(Model.Database);
11
var tables = tablesRaw.Data?.OrderByDescending(t => t.TotalSpaceKB).ThenBy(t => t.TableName).ToList();
12
- var spaceIds = files?.Select(f => f.DataSpaceId).Where(id => id > 0).ToHashSet() ?? new HashSet<int>();
+ var spaceIds = StackExchange.Opserver.ExtensionMethods.ToHashSet(files?.Select(f => f.DataSpaceId).Where(id => id > 0)) ?? new HashSet<int>();
13
var spacesRaw = i?.GetDataSpaceInfo(Model.Database);
14
var spaces = spacesRaw.Data?.Where(ds => spaceIds.Contains(ds.Id)) ?? new List<SQLInstance.DatabaseDataSpace>();
15
const int topTableShowCount = 10;
0 commit comments