fix(invoice details): add branch name.

This commit is contained in:
elforjani13
2022-03-02 16:56:41 +02:00
parent f814374279
commit e46609e3f1
3 changed files with 19 additions and 6 deletions

View File

@@ -1,11 +1,10 @@
import React from 'react';
import { FeatureCan, FormattedMessage as T } from 'components';
import { FormattedMessage as T } from 'components';
import { Classes, Icon, H4, Button } from '@blueprintjs/core';
import withDrawerActions from 'containers/Drawer/withDrawerActions';
import styled from 'styled-components';
import { Features } from 'common';
import { compose } from 'utils';
/**
@@ -35,9 +34,7 @@ function DrawerHeaderContent(props) {
<Icon icon={icon} iconSize={Icon.SIZE_LARGE} />
<H4>
{title}
<FeatureCan feature={Features.Branches}>
<Subtitle>{subTitle}</Subtitle>
</FeatureCan>
<Subtitle>{subTitle}</Subtitle>
</H4>
<Button