Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: static data in mocks #1574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 19, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! fix: static data in mocks
  • Loading branch information
greyscaled committed May 19, 2022
commit 88df954c6677656b4a223cbfa27c1dca269d494e
2 changes: 1 addition & 1 deletion site/src/pages/TemplatePage/TemplatePageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const TemplatesPageView: React.FC<TemplatesPageViewProps> = (props) => {
<TableCell>
{template.workspace_owner_count} developer{template.workspace_owner_count !== 1 && "s"}
</TableCell>
<TableCell>{dayjs().to(dayjs(template.updated_at))}</TableCell>
<TableCell data-chromatic="ignore">{dayjs().to(dayjs(template.updated_at))}</TableCell>
</TableRow>
)
})}
Expand Down
2 changes: 1 addition & 1 deletion site/src/pages/TemplatesPage/TemplatesPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const TemplatesPageView: React.FC<TemplatesPageViewProps> = (props) => {

<TableCell>{Language.developerCount(template.workspace_owner_count)}</TableCell>

<TableCell>{dayjs().to(dayjs(template.updated_at))}</TableCell>
<TableCell data-chromatic="ignore">{dayjs().to(dayjs(template.updated_at))}</TableCell>
</TableRow>
))}
</TableBody>
Expand Down
2 changes: 1 addition & 1 deletion site/src/pages/WorkspacesPage/WorkspacesPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const WorkspacesPageView: React.FC<WorkspacesPageViewProps> = (props) =>
)}
</TableCell>
<TableCell>
<span style={{ color: theme.palette.text.secondary }}>
<span data-chromatic="ignore" style={{ color: theme.palette.text.secondary }}>
{dayjs().to(dayjs(workspace.latest_build.created_at))}
</span>
</TableCell>
Expand Down