Skip to content

Commit 4330626

Browse files
committed
wip
1 parent fc07e1f commit 4330626

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/dashboard/src/workspaces/workspace-model.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class WorkspaceModel implements Disposable, Partial<GitpodClient> {
136136
return (
137137
info.workspace.pinned ||
138138
(!!info.latestInstance && info.latestInstance.status?.phase !== 'stopped')
139-
) && !info.workspace.softDeleted;
139+
);
140140
}
141141

142142
public getAllFetchedWorkspaces(): Map<string, WorkspaceInfo> {

components/gitpod-db/src/typeorm/workspace-db-impl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export abstract class AbstractTypeORMWorkspaceDBImpl implements WorkspaceDB {
152152
.from(DBWorkspaceInstance, 'i2')
153153
.where('i2.phasePersisted = "running"');
154154
}, 'wsiRunning', 'ws.id = wsiRunning.workspaceId')
155-
.where('ws.ownerId = :userId', options)
155+
.where('ws.ownerId = :userId', { userId: options.userId })
156156
.andWhere('ws.softDeleted IS NULL')
157157
.andWhere('ws.deleted != TRUE')
158158
.orderBy('wsiRunning.workspaceId', 'DESC')

0 commit comments

Comments
 (0)