Skip to content

Commit b51b044

Browse files
committed
Show the compute column in the runs table
1 parent 22ef4ad commit b51b044

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/webapp/app/components/runs/v3/TaskRunsTable.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,14 @@ export function TaskRunsTable({
7373
allowSelection = false,
7474
variant = "dimmed",
7575
}: RunsTableProps) {
76-
const user = useUser();
7776
const organization = useOrganization();
7877
const project = useProject();
7978
const environment = useEnvironment();
8079
const checkboxes = useRef<(HTMLInputElement | null)[]>([]);
8180
const { selectedItems, has, hasAll, select, deselect, toggle } = useSelectedItems(allowSelection);
8281
const { isManagedCloud } = useFeatures();
8382

84-
const showCompute = user.admin && isManagedCloud;
83+
const showCompute = isManagedCloud;
8584

8685
const navigateCheckboxes = useCallback(
8786
(event: React.KeyboardEvent<HTMLInputElement>, index: number) => {

0 commit comments

Comments
 (0)