mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-30 09:20:03 +00:00
[UI] Remove duplicate action (#10844)
- "Build Output" is same as "stock item" in this case
This commit is contained in:
@@ -23,11 +23,7 @@ import { useNavigate } from 'react-router-dom';
|
||||
import { ActionButton } from '@lib/components/ActionButton';
|
||||
import { AddItemButton } from '@lib/components/AddItemButton';
|
||||
import { ProgressBar } from '@lib/components/ProgressBar';
|
||||
import {
|
||||
type RowAction,
|
||||
RowEditAction,
|
||||
RowViewAction
|
||||
} from '@lib/components/RowActions';
|
||||
import { type RowAction, RowEditAction } from '@lib/components/RowActions';
|
||||
import { ApiEndpoints } from '@lib/enums/ApiEndpoints';
|
||||
import { ModelType } from '@lib/enums/ModelType';
|
||||
import { UserRoles } from '@lib/enums/Roles';
|
||||
@@ -569,13 +565,7 @@ export default function BuildOutputTable({
|
||||
setSelectedOutputs([record]);
|
||||
cancelBuildOutputsForm.open();
|
||||
}
|
||||
},
|
||||
RowViewAction({
|
||||
title: t`View Build Output`,
|
||||
modelId: record.pk,
|
||||
modelType: ModelType.stockitem,
|
||||
navigate: navigate
|
||||
})
|
||||
}
|
||||
];
|
||||
},
|
||||
[buildStatus, user, partId, hasTrackedItems]
|
||||
|
||||
Reference in New Issue
Block a user