Skip to content

Commit 1558352

Browse files
committed
Rename "resetTableContent" to "resetTableProperties"
1 parent d474710 commit 1558352

11 files changed

Lines changed: 22 additions & 22 deletions

File tree

src/components/configuration/Themes.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import MainView from "../MainView";
1313
import Footer from "../Footer";
1414
import { useAppDispatch, useAppSelector } from "../../store";
1515
import { fetchThemes } from "../../slices/themeSlice";
16-
import { resetTableContent } from "../../slices/tableSlice";
16+
import { resetTableProperties } from "../../slices/tableSlice";
1717

1818
/**
1919
* This component renders the table view of events
@@ -31,7 +31,7 @@ const Themes = () => {
3131
let allowLoadIntoTable = true;
3232

3333
// Clear table of previous data
34-
dispatch(resetTableContent());
34+
dispatch(resetTableProperties());
3535

3636
dispatch(fetchFilters("themes"));
3737

src/components/events/Events.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import EventDetailsModal from "./partials/modals/EventDetailsModal";
3838
import { showModal } from "../../selectors/eventDetailsSelectors";
3939
import { eventsLinks } from "./partials/EventsNavigation";
4040
import { Modal, ModalHandle } from "../shared/modals/Modal";
41-
import { resetTableContent } from "../../slices/tableSlice";
41+
import { resetTableProperties } from "../../slices/tableSlice";
4242

4343
// References for detecting a click outside of the container of the dropdown menu
4444
const containerAction = React.createRef<HTMLDivElement>();
@@ -72,7 +72,7 @@ const Events = () => {
7272
let allowLoadIntoTable = true;
7373

7474
// Clear redux of previous table data
75-
dispatch(resetTableContent());
75+
dispatch(resetTableProperties());
7676

7777
dispatch(fetchFilters("events"))
7878

src/components/events/Series.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { fetchSeriesDetailsTobiraNew } from "../../slices/seriesSlice";
2929
import { eventsLinks } from "./partials/EventsNavigation";
3030
import { Modal, ModalHandle } from "../shared/modals/Modal";
3131
import { availableHotkeys } from "../../configs/hotkeysConfig";
32-
import { resetTableContent } from "../../slices/tableSlice";
32+
import { resetTableProperties } from "../../slices/tableSlice";
3333

3434
// References for detecting a click outside of the container of the dropdown menu
3535
const containerAction = React.createRef<HTMLDivElement>();
@@ -57,7 +57,7 @@ const Series = () => {
5757
let allowLoadIntoTable = true;
5858

5959
// Clear table of previous data
60-
dispatch(resetTableContent());
60+
dispatch(resetTableProperties());
6161

6262
dispatch(fetchFilters("series"))
6363

src/components/recordings/Recordings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Footer from "../Footer";
1414
import { useAppDispatch, useAppSelector } from "../../store";
1515
import { fetchRecordings } from "../../slices/recordingSlice";
1616
import { AsyncThunk } from "@reduxjs/toolkit";
17-
import { resetTableContent } from "../../slices/tableSlice";
17+
import { resetTableProperties } from "../../slices/tableSlice";
1818

1919
/**
2020
* This component renders the table view of recordings
@@ -31,7 +31,7 @@ const Recordings = () => {
3131
let allowLoadIntoTable = true;
3232

3333
// Clear table of previous data
34-
dispatch(resetTableContent());
34+
dispatch(resetTableProperties());
3535

3636
dispatch(fetchFilters("recordings"));
3737

src/components/systems/Jobs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Footer from "../Footer";
1616
import { useAppDispatch, useAppSelector } from "../../store";
1717
import { fetchJobs } from "../../slices/jobSlice";
1818
import { systemsLinks } from "./partials/SystemsNavigation";
19-
import { resetTableContent } from "../../slices/tableSlice";
19+
import { resetTableProperties } from "../../slices/tableSlice";
2020

2121
/**
2222
* This component renders the table view of jobs
@@ -33,7 +33,7 @@ const Jobs = () => {
3333
let allowLoadIntoTable = true;
3434

3535
// Clear table of previous data
36-
dispatch(resetTableContent());
36+
dispatch(resetTableProperties());
3737

3838
dispatch(fetchFilters("jobs"));
3939

src/components/systems/Servers.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Footer from "../Footer";
1616
import { useAppDispatch, useAppSelector } from "../../store";
1717
import { fetchServers } from "../../slices/serverSlice";
1818
import { systemsLinks } from "./partials/SystemsNavigation";
19-
import { resetTableContent } from "../../slices/tableSlice";
19+
import { resetTableProperties } from "../../slices/tableSlice";
2020

2121
/**
2222
* This component renders the table view of servers
@@ -33,7 +33,7 @@ const Servers = () => {
3333
let allowLoadIntoTable = true;
3434

3535
// Clear table of previous data
36-
dispatch(resetTableContent());
36+
dispatch(resetTableProperties());
3737

3838
dispatch(fetchFilters("servers"));
3939

src/components/systems/Services.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Footer from "../Footer";
1616
import { useAppDispatch, useAppSelector } from "../../store";
1717
import { fetchServices } from "../../slices/serviceSlice";
1818
import { systemsLinks } from "./partials/SystemsNavigation";
19-
import { resetTableContent } from "../../slices/tableSlice";
19+
import { resetTableProperties } from "../../slices/tableSlice";
2020

2121
/**
2222
* This component renders the table view of services
@@ -33,7 +33,7 @@ const Services = () => {
3333
let allowLoadIntoTable = true;
3434

3535
// Clear table of previous data
36-
dispatch(resetTableContent());
36+
dispatch(resetTableProperties());
3737

3838
dispatch(fetchFilters("services"));
3939

src/components/users/Acls.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Footer from "../Footer";
1616
import { useAppDispatch, useAppSelector } from "../../store";
1717
import { fetchAcls } from "../../slices/aclSlice";
1818
import { usersLinks } from "./partials/UsersNavigation";
19-
import { resetTableContent } from "../../slices/tableSlice";
19+
import { resetTableProperties } from "../../slices/tableSlice";
2020

2121
/**
2222
* This component renders the table view of acls
@@ -33,7 +33,7 @@ const Acls = () => {
3333
let allowLoadIntoTable = true;
3434

3535
// Clear table of previous data
36-
dispatch(resetTableContent());
36+
dispatch(resetTableProperties());
3737

3838
dispatch(fetchFilters("acls"));
3939

src/components/users/Groups.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Footer from "../Footer";
1616
import { useAppDispatch, useAppSelector } from "../../store";
1717
import { fetchGroups } from "../../slices/groupSlice";
1818
import { usersLinks } from "./partials/UsersNavigation";
19-
import { resetTableContent } from "../../slices/tableSlice";
19+
import { resetTableProperties } from "../../slices/tableSlice";
2020

2121
/**
2222
* This component renders the table view of groups
@@ -33,7 +33,7 @@ const Groups = () => {
3333
let allowLoadIntoTable = true;
3434

3535
// Clear table of previous data
36-
dispatch(resetTableContent());
36+
dispatch(resetTableProperties());
3737

3838
dispatch(fetchFilters("groups"));
3939

src/components/users/Users.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Footer from "../Footer";
1616
import { useAppDispatch, useAppSelector } from "../../store";
1717
import { fetchUsers } from "../../slices/userSlice";
1818
import { usersLinks } from "./partials/UsersNavigation";
19-
import { resetTableContent } from "../../slices/tableSlice";
19+
import { resetTableProperties } from "../../slices/tableSlice";
2020

2121
/**
2222
* This component renders the table view of users
@@ -33,7 +33,7 @@ const Users = () => {
3333
let allowLoadIntoTable = true;
3434

3535
// Clear table of previous data
36-
dispatch(resetTableContent());
36+
dispatch(resetTableProperties());
3737

3838
dispatch(fetchFilters("users"));
3939

0 commit comments

Comments
 (0)