Skip to content

Commit efa919f

Browse files
committed
export button
1 parent 6e263da commit efa919f

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

frontend/src/pages/dashboard/index.tsx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,18 @@ export const Dashboard = Shade<DashboardProps>({
149149
title={currentStack?.displayName ?? props.stackName}
150150
description={currentStack?.description}
151151
actions={
152-
<NestedRouteLink href="/stacks/:stackName/edit" params={{ stackName: props.stackName }}>
153-
<Button variant="outlined" size="small" startIcon={<Icon icon={icons.edit} size="small" />}>
154-
Edit Stack
155-
</Button>
156-
</NestedRouteLink>
152+
<div style={{ display: 'flex', gap: '8px' }}>
153+
<NestedRouteLink href="/stacks/:stackName/export" params={{ stackName: props.stackName }}>
154+
<Button variant="outlined" size="small" startIcon={<Icon icon={icons.download} size="small" />}>
155+
Export
156+
</Button>
157+
</NestedRouteLink>
158+
<NestedRouteLink href="/stacks/:stackName/edit" params={{ stackName: props.stackName }}>
159+
<Button variant="outlined" size="small" startIcon={<Icon icon={icons.edit} size="small" />}>
160+
Edit Stack
161+
</Button>
162+
</NestedRouteLink>
163+
</div>
157164
}
158165
/>
159166

0 commit comments

Comments
 (0)