Skip to content

Commit

Permalink
fix(web): title of my integration and request page (#1234)
Browse files Browse the repository at this point in the history
* fix: background color

* fix: page title
  • Loading branch information
caichi-t authored and yk-eukarya committed Oct 1, 2024
1 parent a694312 commit 81de989
Show file tree
Hide file tree
Showing 6 changed files with 1,099 additions and 1,094 deletions.
2 changes: 1 addition & 1 deletion web/src/components/atoms/PageHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Header: React.FC<Props> = props => {
};

const StyledPageHeader = styled(PageHeader)`
background-color: #fff;
background-color: #fff !important;
padding: 16px 24px;
.ant-page-header-heading {
flex-wrap: inherit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const AssetWrapper: React.FC<Props> = ({
center={
<Wrapper>
<PageHeader
title={`${t("Asset")}/${asset?.fileName}`}
title={`${t("Asset")} / ${asset?.fileName}`}
extra={
<Button onClick={onSave} disabled={isSaveDisabled} loading={updateLoading}>
{t("Save")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ const MyIntegrationContent: React.FC<Props> = ({

return (
<MyIntegrationWrapper>
<PageHeader title={integration.name} onBack={onIntegrationHeaderBack} />
<PageHeader
title={`${t("My Integration")} / ${integration.name}`}
onBack={onIntegrationHeaderBack}
/>
<MyIntegrationTabs defaultActiveKey="integration">
<TabPane tab={t("General")} key="integration">
<MyIntegrationSettings
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/molecules/Request/Details/Request.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const RequestMolecule: React.FC<Props> = ({
return (
<Content>
<PageHeader
title={currentRequest.title}
title={`${t("Request")} / ${currentRequest.title}`}
onBack={onBack}
extra={
<>
Expand Down
Loading

0 comments on commit 81de989

Please sign in to comment.