File tree 1 file changed +5
-7
lines changed
site/src/components/Resources 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -96,12 +96,6 @@ const MetadataItem: FC<{ item: WorkspaceAgentMetadata }> = ({ item }) => {
96
96
classes = { { paper : styles . metadataPopover } }
97
97
>
98
98
< HelpTooltipTitle > { item . description . display_name } </ HelpTooltipTitle >
99
- < HelpTooltipText >
100
- This item was collected{ " " }
101
- { dayjs . duration ( item . result . age , "s" ) . humanize ( ) } ago and will be
102
- updated in{ " " }
103
- { dayjs . duration ( Math . min ( updatesInSeconds , 0 ) , "s" ) . humanize ( ) } .
104
- </ HelpTooltipText >
105
99
{ isStale ? (
106
100
< HelpTooltipText >
107
101
This item is now stale because the agent hasn{ "'" } t reported a new
@@ -111,7 +105,11 @@ const MetadataItem: FC<{ item: WorkspaceAgentMetadata }> = ({ item }) => {
111
105
< > </ >
112
106
) }
113
107
< HelpTooltipText >
114
- This item is collected by running the following command:
108
+ This item was collected{ " " }
109
+ { dayjs . duration ( item . result . age , "s" ) . humanize ( ) } ago and will be
110
+ updated in{ " " }
111
+ { dayjs . duration ( Math . min ( updatesInSeconds , 0 ) , "s" ) . humanize ( ) } by
112
+ running the following command:
115
113
</ HelpTooltipText >
116
114
< HelpTooltipText >
117
115
< CodeExample code = { item . description . script } > </ CodeExample >
You can’t perform that action at this time.
0 commit comments