mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat: styling item adjustment dialog.
This commit is contained in:
@@ -4,10 +4,10 @@ import { If } from 'components';
|
||||
export const accountNameAccessor = (account) => {
|
||||
return (
|
||||
<span>
|
||||
<If condition={account.name}>
|
||||
<span class={'account-name'}>{ account.name }</span>
|
||||
<span class={'account-name'}>{account.name}</span>
|
||||
<If condition={account.description}>
|
||||
<span class={'account-desc'}>{account.description}</span>
|
||||
</If>
|
||||
<span class={'account-desc'}>{ account.description }</span>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user