IO-3514 Print Center Restrict Financial Group on Tech Station and Fix Drawer Close on Tech Console
Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
@@ -59,7 +59,8 @@ export function TechLookupJobsDrawer({ bodyshop, setPrintCenterContext }) {
|
||||
|
||||
const handleDrawerClose = () => {
|
||||
// Immutable omit (no delete/mutation)
|
||||
const { ...rest } = searchParams || {};
|
||||
const { selected, ...rest } = searchParams || {};
|
||||
void selected;
|
||||
history({
|
||||
search: queryString.stringify(rest)
|
||||
});
|
||||
@@ -72,7 +73,6 @@ export function TechLookupJobsDrawer({ bodyshop, setPrintCenterContext }) {
|
||||
|
||||
{data ? (
|
||||
<PageHeader
|
||||
onBack={() => window.history.back()}
|
||||
title={data.jobs_by_pk.ro_number || t("general.labels.na")}
|
||||
extra={
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user