diff --git a/src/pages/master/brandDevice/component/ListErrorCode.jsx b/src/pages/master/brandDevice/component/ListErrorCode.jsx index 85fe86c..6fbba65 100644 --- a/src/pages/master/brandDevice/component/ListErrorCode.jsx +++ b/src/pages/master/brandDevice/component/ListErrorCode.jsx @@ -214,7 +214,6 @@ const ListErrorCode = ({ marginBottom: 12, height: '32px', width: '100%', - maxWidth: '300px' }} /> diff --git a/src/pages/master/brandDevice/component/SparepartSelect.jsx b/src/pages/master/brandDevice/component/SparepartSelect.jsx index 85ca83e..4cf217e 100644 --- a/src/pages/master/brandDevice/component/SparepartSelect.jsx +++ b/src/pages/master/brandDevice/component/SparepartSelect.jsx @@ -36,7 +36,7 @@ const SparepartSelect = ({ setLoading(true); try { const params = new URLSearchParams(); - params.set('limit', '1000'); + params.set('limit', '10'); if (searchQuery && searchQuery.trim() !== '') { params.set('criteria', searchQuery.trim()); @@ -137,7 +137,7 @@ const SparepartSelect = ({ > {spareparts .filter(sparepart => !selectedSpareparts.some(sp => sp.sparepart_id === sparepart.sparepart_id)) - .slice(0, 5) + .slice(0, 10) .map((sparepart) => (