mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
spelling: avatar
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
import MODIFIER from './modifiers';
|
import MODIFIER from './modifiers';
|
||||||
import ContextMenu from './ContextMenu';
|
import ContextMenu from './ContextMenu';
|
||||||
import AvaterCell from './AvaterCell';
|
import AvatarCell from './AvatarCell';
|
||||||
|
|
||||||
export * from './Money/Money';
|
export * from './Money/Money';
|
||||||
export * from './Dialog';
|
export * from './Dialog';
|
||||||
@@ -65,4 +65,4 @@ export * from './Postbox';
|
|||||||
export * from './AppToaster';
|
export * from './AppToaster';
|
||||||
export * from './Layout';
|
export * from './Layout';
|
||||||
|
|
||||||
export { MODIFIER, ContextMenu, AvaterCell };
|
export { MODIFIER, ContextMenu, AvatarCell };
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import {
|
|||||||
Classes,
|
Classes,
|
||||||
} from '@blueprintjs/core';
|
} from '@blueprintjs/core';
|
||||||
|
|
||||||
import { Can, Icon, Money, If, AvaterCell } from '@/components';
|
import { Can, Icon, Money, If, AvatarCell } from '@/components';
|
||||||
import { CustomerAction, AbilitySubject } from '@/constants/abilityOption';
|
import { CustomerAction, AbilitySubject } from '@/constants/abilityOption';
|
||||||
import { safeCallback } from '@/utils';
|
import { safeCallback } from '@/utils';
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ export function useCustomersTableColumns() {
|
|||||||
{
|
{
|
||||||
id: 'avatar',
|
id: 'avatar',
|
||||||
Header: '',
|
Header: '',
|
||||||
Cell: AvaterCell,
|
Cell: AvatarCell,
|
||||||
className: 'avatar',
|
className: 'avatar',
|
||||||
width: 45,
|
width: 45,
|
||||||
disableResizing: true,
|
disableResizing: true,
|
||||||
|
|||||||
@@ -128,10 +128,10 @@ export function ProjectSuggestField({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const AvatarSelect = ({ text }) => {
|
const AvatarSelect = ({ text }) => {
|
||||||
return <AvaterContent>{firstLettersArgs(text?.name)}</AvaterContent>;
|
return <AvatarContent>{firstLettersArgs(text?.name)}</AvatarContent>;
|
||||||
};
|
};
|
||||||
|
|
||||||
const AvaterContent = styled.div`
|
const AvatarContent = styled.div`
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: #adbcc9;
|
background: #adbcc9;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
Classes,
|
Classes,
|
||||||
} from '@blueprintjs/core';
|
} from '@blueprintjs/core';
|
||||||
|
|
||||||
import { Can, Icon, Money, If, AvaterCell } from '@/components';
|
import { Can, Icon, Money, If, AvatarCell } from '@/components';
|
||||||
import { VendorAction, AbilitySubject } from '@/constants/abilityOption';
|
import { VendorAction, AbilitySubject } from '@/constants/abilityOption';
|
||||||
import { safeCallback, firstLettersArgs } from '@/utils';
|
import { safeCallback, firstLettersArgs } from '@/utils';
|
||||||
|
|
||||||
@@ -144,7 +144,7 @@ export function useVendorsTableColumns() {
|
|||||||
{
|
{
|
||||||
id: 'avatar',
|
id: 'avatar',
|
||||||
Header: '',
|
Header: '',
|
||||||
Cell: AvaterCell,
|
Cell: AvatarCell,
|
||||||
className: 'avatar',
|
className: 'avatar',
|
||||||
width: 45,
|
width: 45,
|
||||||
disableResizing: true,
|
disableResizing: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user