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 91fe9f2 commit 0438f3aCopy full SHA for 0438f3a
site/src/pages/WorkspacePage/Workspace.tsx
@@ -253,6 +253,25 @@ export const Workspace: FC<WorkspaceProps> = ({
253
onUpdateAgent={handleUpdate} // On updating the workspace the agent version is also updated
254
/>
255
))}
256
+
257
+ {(!selectedResource.agents ||
258
+ selectedResource.agents?.length === 0) && (
259
+ <div
260
+ css={{
261
+ display: "flex",
262
+ justifyContent: "center",
263
+ alignItems: "center",
264
+ width: "100%",
265
+ height: "100%",
266
+ }}
267
+ >
268
+ <div>
269
+ <h4 css={{ fontSize: 16, fontWeight: 500 }}>
270
+ No agents are currently assigned to this resource.
271
+ </h4>
272
+ </div>
273
274
+ )}
275
</section>
276
)}
277
</div>
0 commit comments