Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
édouard wautier authored and édouard wautier committed Oct 26, 2023
1 parent a34f9fb commit 85a30b0
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions front/pages/w/[wId]/workspace/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,53 @@ export default function WorkspaceAdmin({
}}
/>
</div>
<<<<<<< HEAD
<<<<<<< HEAD
</Page.Vertical>
=======
</>
>>>>>>> 8f36eb7c (Polishing Admin Pages)
=======
</>
)}
{!!monthOptions.length && (
<Page.Vertical align="stretch" gap="md">
<Page.SectionHeader
title="Workspace Activity"
description="Download monthly workspace activity details."
/>
<Page.Horizontal>
<DropdownMenu>
<DropdownMenu.Button>
<Button
type="select"
labelVisible={true}
label={selectedMonth || ""}
variant="secondary"
size="sm"
/>
</DropdownMenu.Button>
<DropdownMenu.Items origin="topLeft">
{monthOptions.map((month) => (
<DropdownMenu.Item
key={month}
label={month}
onClick={() => handleSelectMonth(month)}
/>
))}
</DropdownMenu.Items>
</DropdownMenu>
<Button
label="Download activity data"
icon={CloudArrowDownIcon}
variant="secondary"
onClick={() => {
void handleDownload(selectedMonth);
}}
/>
</Page.Horizontal>
</Page.Vertical>
>>>>>>> 677de35a (Merge)
)}
</Page.Vertical>
</AppLayout>
Expand Down

0 comments on commit 85a30b0

Please sign in to comment.