(client: RouterClient<AppRouter> | null)
| 130 | } |
| 131 | |
| 132 | setClient(client: RouterClient<AppRouter> | null): void { |
| 133 | this.client = client; |
| 134 | |
| 135 | if (!client) { |
| 136 | return; |
| 137 | } |
| 138 | |
| 139 | if (this.workspaceMetadata.size > 0) { |
| 140 | this.refreshController.requestImmediate(); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | /** |
| 145 | * Subscribe to git status changes (any workspace). |