+
+
+
+ {dayjs(workspace.workspaceCreationTime).format("MMM D, YYYY")}
+
+
{dayjs(workspace.instanceCreationTime).fromNow()}
+
+
+ {workspace.context.title}
+
+
+
+
+
+
+ {user?.name || props.workspace.ownerId}
+
+
+
{workspace.shareable ? "Enabled" : "Disabled"}
+
{
+ await getGitpodService().server.adminRestoreSoftDeletedWorkspace(
+ workspace.workspaceId,
+ );
+ await reload();
+ },
},
- },
- ]
- : undefined
- }
- >
- {workspace.softDeleted
- ? `'${workspace.softDeleted}' ${dayjs(workspace.softDeletedTime).fromNow()}`
- : "No"}
-
-
-
-
- {workspace.instanceId}
-
-
{workspace.region}
-
- {workspace.stoppedTime ? dayjs(workspace.stoppedTime).fromNow() : "---"}
-
-
-
-
- {workspace.status.nodeName ?? "not assigned"}
-
-
- {workspace.workspaceClass ?? "unknown"}
-
+ ]
+ : undefined
+ }
+ >
+ {workspace.softDeleted
+ ? `'${workspace.softDeleted}' ${dayjs(workspace.softDeletedTime).fromNow()}`
+ : "No"}
+
+
+
+
+ {workspace.instanceId}
+
+
{workspace.region}
+
+ {workspace.stoppedTime ? dayjs(workspace.stoppedTime).fromNow() : "---"}
+
+
+
+
+ {workspace.status.nodeName ?? "not assigned"}
+
+
+ {workspace.workspaceClass ?? "unknown"}
+
+
+
{[0, 1, 2].map(adminLink)}
+
{[3, 4, 5].map(adminLink)}
-
{[0, 1, 2].map(adminLink)}
-
{[3, 4, 5].map(adminLink)}