From 13244283d70d2ec2231659979ef84d35ffecc807 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 20 九月 2024 09:41:48 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/agv/AgvList.jsx |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/zy-acs-flow/src/page/agv/AgvList.jsx b/zy-acs-flow/src/page/agv/AgvList.jsx
index 4f03c6c..2fbe561 100644
--- a/zy-acs-flow/src/page/agv/AgvList.jsx
+++ b/zy-acs-flow/src/page/agv/AgvList.jsx
@@ -34,6 +34,7 @@
     ListBase,
     Title,
     Pagination,
+    ListToolbar,
 } from 'react-admin';
 import { Box, Typography, Card, Stack } from '@mui/material';
 import { styled } from '@mui/material/styles';
@@ -51,8 +52,9 @@
 
 export const AgvGrid = () => {
     const { identity } = useGetIdentity();
-    if (!identity) return null;
     const [createDialog, setCreateDialog] = useState(false);
+
+    if (!identity) return null;
 
     return (
         <>
@@ -82,7 +84,6 @@
                 <Title title={'Companies'} />
                 <ListToolbar actions={(
                     <TopToolbar>
-                        <FilterButton />
                         <MyCreateButton onClick={() => { setCreateDialog(true) }} />
                         <MyExportButton />
                     </TopToolbar>

--
Gitblit v1.9.1