Lint all the things
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { Button, Space } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import dayjs from "../../utils/day";
|
||||
import { connect } from "react-redux";
|
||||
@@ -125,18 +125,16 @@ export function JobAdminMarkReexport({ insertAuditTrail, bodyshop, currentUser,
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<Space wrap>
|
||||
<Button loading={loading} disabled={!job.date_exported} onClick={handleMarkForExport}>
|
||||
{t("jobs.labels.markforreexport")}
|
||||
</Button>
|
||||
<Button loading={loading} disabled={job.date_exported} onClick={handleMarkExported}>
|
||||
{t("jobs.actions.markasexported")}
|
||||
</Button>
|
||||
<Button loading={loading} disabled={!job.date_invoiced || job.date_exported} onClick={handleUninvoice}>
|
||||
{t("jobs.actions.uninvoice")}
|
||||
</Button>
|
||||
</Space>
|
||||
</>
|
||||
<Space wrap>
|
||||
<Button loading={loading} disabled={!job.date_exported} onClick={handleMarkForExport}>
|
||||
{t("jobs.labels.markforreexport")}
|
||||
</Button>
|
||||
<Button loading={loading} disabled={job.date_exported} onClick={handleMarkExported}>
|
||||
{t("jobs.actions.markasexported")}
|
||||
</Button>
|
||||
<Button loading={loading} disabled={!job.date_invoiced || job.date_exported} onClick={handleUninvoice}>
|
||||
{t("jobs.actions.uninvoice")}
|
||||
</Button>
|
||||
</Space>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user