Skip to content

Commit 7768e95

Browse files
committed
Fix stories
1 parent 5747590 commit 7768e95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

site/src/pages/AuditPage/AuditPageView.stories.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ export default {
1616
paginationRef: {
1717
defaultValue: createPaginationRef({ page: 1, limit: 25 }),
1818
},
19+
isAuditLogVisible: {
20+
defaultValue: true,
21+
},
1922
},
2023
} as ComponentMeta<typeof AuditPageView>
2124

@@ -45,6 +48,11 @@ NoLogs.args = {
4548
isNonInitialPage: false,
4649
}
4750

51+
export const NotVisible = Template.bind({})
52+
NotVisible.args = {
53+
isAuditLogVisible: false,
54+
}
55+
4856
export const AuditPageSmallViewport = Template.bind({})
4957
AuditPageSmallViewport.parameters = {
5058
chromatic: { viewports: [600] },

0 commit comments

Comments
 (0)