IO-1126 Consistent edit icons.

This commit is contained in:
Patrick Fic
2021-06-09 10:38:50 -07:00
parent 7a8e8de724
commit 7745848961
4 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
import { EyeFilled, SyncOutlined } from "@ant-design/icons";
import { EditFilled, SyncOutlined } from "@ant-design/icons";
import { Button, Card, Checkbox, Input, Space, Table } from "antd";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
@@ -47,7 +47,7 @@ export function BillsListTableComponent({
<Space wrap>
{showView && (
<Button onClick={() => handleOnRowClick(record)}>
<EyeFilled />
<EditFilled />
</Button>
)}
<BillDeleteButton bill={record} />

View File

@@ -3,6 +3,7 @@ import {
FilterFilled,
SyncOutlined,
WarningFilled,
EditFilled,
} from "@ant-design/icons";
import { useMutation } from "@apollo/client";
import {
@@ -286,7 +287,7 @@ export function JobLinesComponent({
});
}}
>
{t("general.actions.edit")}
<EditFilled />
</Button>
<Button
disabled={jobRO}

View File

@@ -1,4 +1,4 @@
import { SyncOutlined } from "@ant-design/icons";
import { EditFilled, SyncOutlined } from "@ant-design/icons";
import { Button, Card, Input, Space, Table, Typography } from "antd";
import queryString from "query-string";
import React, { useState } from "react";
@@ -160,7 +160,7 @@ export function PaymentsListPaginated({
});
}}
>
{t("general.actions.edit")}
<EditFilled />
</Button>
<PrintWrapperComponent
templateObject={{

View File

@@ -1,4 +1,5 @@
import { Card, Space, Table } from "antd";
import { EditFilled } from "@ant-design/icons";
import moment from "moment";
import React, { useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
@@ -190,7 +191,7 @@ export function TimeTicketList({
context={{ id: record.id, timeticket: record }}
disabled={!record.job || disabled}
>
{t("general.actions.edit")}
<EditFilled />
</TimeTicketEnterButton>
)}
{!techConsole && (
@@ -216,7 +217,7 @@ export function TimeTicketList({
: !record.jobid
}
>
{t("general.actions.edit")}
<EditFilled />
</TimeTicketEnterButton>
</RbacWrapper>
)}