diff --git a/app/templates/library.html b/app/templates/library.html
index 4337b3d..abafd50 100644
--- a/app/templates/library.html
+++ b/app/templates/library.html
@@ -464,7 +464,7 @@ function libraryPage() {
try {
var url = '/api/library/' + this.tab;
var sep = '?';
- if (this.workspaceId && (this.tab === 'recents' || this.tab === 'workspace')) {
+ if (this.workspaceId && (this.tab === 'recents')) {
url += sep + 'workspace_id=' + this.workspaceId; sep = '&';
}
if (this.tab === 'repository' && this.isGiteaActive) {