Client:Pages:OAuth2: fix header
This commit is contained in:
parent
cfcc10e98e
commit
29a295f897
@ -112,7 +112,7 @@ const Layout = ({
|
|||||||
<DetailsNavigationHeader />
|
<DetailsNavigationHeader />
|
||||||
) : currentPath === oauthCreatePath ||
|
) : currentPath === oauthCreatePath ||
|
||||||
currentPath === oauthEditPath ? (
|
currentPath === oauthEditPath ? (
|
||||||
<OAuthSectionHeader />
|
<OAuthSectionHeader isEdit={currentPath === oauthEditPath} />
|
||||||
) : (
|
) : (
|
||||||
<SectionHeaderContent />
|
<SectionHeaderContent />
|
||||||
)}
|
)}
|
||||||
|
@ -28,17 +28,15 @@ const OAuthSectionHeader = ({ isEdit }: { isEdit: boolean }) => {
|
|||||||
<HeaderContainer>
|
<HeaderContainer>
|
||||||
<Headline type="content" truncate>
|
<Headline type="content" truncate>
|
||||||
<div className="settings-section_header">
|
<div className="settings-section_header">
|
||||||
<div className="header">
|
<IconButton
|
||||||
<IconButton
|
iconName={ArrowPathReactSvgUrl}
|
||||||
iconName={ArrowPathReactSvgUrl}
|
size={17}
|
||||||
size={17}
|
isFill
|
||||||
isFill
|
onClick={onBack}
|
||||||
onClick={onBack}
|
className="arrow-button"
|
||||||
className="arrow-button"
|
/>
|
||||||
/>
|
|
||||||
|
|
||||||
{isEdit ? t("EditApp") : t("NewApp")}
|
{isEdit ? t("EditApp") : t("NewApp")}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</Headline>
|
</Headline>
|
||||||
</HeaderContainer>
|
</HeaderContainer>
|
||||||
|
Loading…
Reference in New Issue
Block a user