From f8143742798be6bad6a04b29f72ef2a4fc1ed5e4 Mon Sep 17 00:00:00 2001 From: elforjani13 <39470382+elforjani13@users.noreply.github.com> Date: Wed, 2 Mar 2022 14:23:28 +0200 Subject: [PATCH] feat(invoicedetail ): Add branch name to detial. --- src/components/Drawer/DrawerHeaderContent.js | 21 +++++++++++++++++-- .../InvoiceDetailDrawerProvider.js | 1 + 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/components/Drawer/DrawerHeaderContent.js b/src/components/Drawer/DrawerHeaderContent.js index ff506c267..634e8786b 100644 --- a/src/components/Drawer/DrawerHeaderContent.js +++ b/src/components/Drawer/DrawerHeaderContent.js @@ -1,9 +1,11 @@ import React from 'react'; -import { FormattedMessage as T } from 'components'; +import { FeatureCan, 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'; /** @@ -13,6 +15,7 @@ function DrawerHeaderContent(props) { const { icon, title = , + subTitle, onClose, name, closeDrawer, @@ -30,7 +33,12 @@ function DrawerHeaderContent(props) { return (
-

{title}

+

+ {title} + + {subTitle} + +