Skip to content

Commit 0be4389

Browse files
authored
Notifications shows "Loading..." while Issues and PRs show a different message (#7282)
Fixes #6923
1 parent 552b269 commit 0be4389

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,9 +1769,14 @@
17691769
},
17701770
{
17711771
"view": "notifications:github",
1772-
"when": "!github:notificationCount",
1772+
"when": "!github:notificationCount && workspaceFolderCount > 0",
17731773
"contents": "%welcome.github.notificationsLoading.contents%"
17741774
},
1775+
{
1776+
"view": "notifications:github",
1777+
"when": "workspaceFolderCount == 0",
1778+
"contents": "%welcome.issues.github.noFolder.contents%"
1779+
},
17751780
{
17761781
"view": "notifications:github",
17771782
"when": "ReposManagerStateContext == RepositoriesLoaded && github:notificationCount == -1",

0 commit comments

Comments
 (0)