added to clack list for redux
fix wrap on TTbrowser
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
|||||||
selectCurrentTimeTicketJobId,
|
selectCurrentTimeTicketJobId,
|
||||||
} from "../../redux/timetickets/timetickets.selectors";
|
} from "../../redux/timetickets/timetickets.selectors";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import { EmployeeClockedInList } from "../time-ticket-lists/employee-clockedin-list.component";
|
import EmployeeClockedInList from "../time-ticket-lists/employee-clockedin-list.component";
|
||||||
import { useNavigation } from "@react-navigation/native";
|
import { useNavigation } from "@react-navigation/native";
|
||||||
|
|
||||||
import { INSERT_NEW_TIME_TICKET } from "../../graphql/timetickets.queries";
|
import { INSERT_NEW_TIME_TICKET } from "../../graphql/timetickets.queries";
|
||||||
@@ -61,9 +61,8 @@ export function ScreenTimeTicketBrowser({
|
|||||||
const [currentSJobId, setCurrentSJobId] = useState(null);
|
const [currentSJobId, setCurrentSJobId] = useState(null);
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const [error, setError] = useState(null);
|
const [error, setError] = useState(null);
|
||||||
const [insertTimeTicket] = useMutation(INSERT_NEW_TIME_TICKET, {
|
const [insertTimeTicket] = useMutation(INSERT_NEW_TIME_TICKET);
|
||||||
refetchQueries: ["QUERY_ACTIVE_TIME_TICKETS"],
|
const [jobCount, setJobCount] = useState(0);
|
||||||
});
|
|
||||||
// const { error, data } = useQuery(QUERY_EMPLOYEE_BY_ID, {
|
// const { error, data } = useQuery(QUERY_EMPLOYEE_BY_ID, {
|
||||||
// variables: { id: currentEmployee.technician.id },
|
// variables: { id: currentEmployee.technician.id },
|
||||||
// });
|
// });
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const persistConfig = {
|
|||||||
key: "root",
|
key: "root",
|
||||||
storage: AsyncStorage,
|
storage: AsyncStorage,
|
||||||
// whitelist: ["photos"],
|
// whitelist: ["photos"],
|
||||||
blacklist: ["user"],
|
blacklist: ["user","employee","timeTickets"],
|
||||||
};
|
};
|
||||||
|
|
||||||
const rootReducer = combineReducers({
|
const rootReducer = combineReducers({
|
||||||
|
|||||||
Reference in New Issue
Block a user