Lint all the things

This commit is contained in:
Dave
2025-08-19 16:23:29 -04:00
parent f6d6b548be
commit 33fb60ca1a
640 changed files with 2129 additions and 3927 deletions

View File

@@ -1,5 +1,5 @@
import { Select } from "antd";
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import { useMutation } from "@apollo/client";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
@@ -35,7 +35,7 @@ export function JoblineTeamAssignment({ bodyshop, jobline, disabled, jobId, inse
setAssignedTeam(e);
};
const handleSave = async (e) => {
const handleSave = async () => {
setLoading(true);
const result = await updateJob({
variables: {
@@ -44,7 +44,7 @@ export function JoblineTeamAssignment({ bodyshop, jobline, disabled, jobId, inse
}
});
if (!!!result.errors) {
if (!result.errors) {
notification["success"]({ message: t("joblines.successes.saved") });
//insert the audit trail here.
const teamName = bodyshop.employee_teams.find((et) => et.id === assignedTeam)?.name;
@@ -70,7 +70,7 @@ export function JoblineTeamAssignment({ bodyshop, jobline, disabled, jobId, inse
<Select
autoFocus
allowClear
dropdownMatchSelectWidth={100}
popupMatchSelectWidth={100}
value={assignedTeam}
onSelect={handleChange}
onBlur={handleSave}