mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-11 06:44:13 +00:00
change column order on sites table
This commit is contained in:
@@ -431,9 +431,6 @@ export default function SiteResourcesOverview({
|
||||
);
|
||||
}
|
||||
|
||||
/** Left column = whichever side has a greater total; ties default to public first. */
|
||||
const publicOnLeft = publicTotal >= privateTotal;
|
||||
|
||||
const publicColumn = (
|
||||
<OverviewColumn
|
||||
key="public"
|
||||
@@ -471,9 +468,8 @@ export default function SiteResourcesOverview({
|
||||
return (
|
||||
<SettingsContainer>
|
||||
<div className="grid gap-6 md:grid-cols-2">
|
||||
{publicOnLeft
|
||||
? [publicColumn, privateColumn]
|
||||
: [privateColumn, publicColumn]}
|
||||
{publicColumn}
|
||||
{privateColumn}
|
||||
</div>
|
||||
</SettingsContainer>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user