Skip to content

Commit 53a9d9f

Browse files
FBanfiJuliRossi
authored andcommitted
Bulk-Edit-App: Fix sorting error and edit button with no padding [INTEG-3103] (#10090)
* Bulk-Edit-App: Freeze top row with Field Names [INTEG-2953] (#10076) * freeze top row with Field Names * removing unused import * making the status column sticky too (#10082) * not showing the edit button when loading entries * fix error when changing sorting
1 parent d92e8de commit 53a9d9f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apps/bulk-edit/src/locations/Page/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ const Page = () => {
199199
return query;
200200
};
201201

202+
const clearState = () => {
203+
setEntries([]);
204+
setFields([]);
205+
setTotalEntries(0);
206+
};
207+
202208
useEffect(() => {
203209
const fetchContentTypes = async (): Promise<void> => {
204210
try {

0 commit comments

Comments
 (0)