We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd93324 commit 8c53fbcCopy full SHA for 8c53fbc
src/webviews/apps/plus/graph/GraphWrapper.tsx
@@ -1130,9 +1130,12 @@ export function GraphWrapper({
1130
tooltip += ` ${remote}`;
1131
fetchTooltip += ` ${remote}`;
1132
}
1133
- const lastFetchedText = fetchedText ? `\nLast fetched ${fetchedText}` : '\nNever fetched';
1134
- tooltip += lastFetchedText;
1135
- fetchTooltip += lastFetchedText;
+
+ if (fetchedText != null) {
+ const lastFetchedText = `\nLast fetched ${fetchedText}`;
1136
+ tooltip += lastFetchedText;
1137
+ fetchTooltip += lastFetchedText;
1138
+ }
1139
1140
return (
1141
<div className="titlebar__group">
0 commit comments