10000 refactor: match StatusIndicator component with the new designs by BrunoQuaresma · Pull Request #16458 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

refactor: match StatusIndicator component with the new designs #16458

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 8 commits into from
Feb 7, 2025
Merged
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
Fix status
  • Loading branch information
BrunoQuaresma committed Feb 7, 2025
commit 02618d5907a5297b4378b1411051a765921ca4f5
2 changes: 1 addition & 1 deletion site/src/pages/WorkspacesPage/LastUsed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const LastUsed: FC<LastUsedProps> = ({ lastUsedAt }) => {
const t = dayjs(lastUsedAt);
const now = dayjs();
let message = t.fromNow();
let circle = <StatusIndicatorDot variant="pending" />;
let circle = <StatusIndicatorDot variant="inactive" />;

if (t.isAfter(now.subtract(1, "hour"))) {
circle = <StatusIndicatorDot variant="success" />;
Expand Down
Loading
0