Skip to content

Commit

Permalink
feat: Page header and toolbar in system extensions (argoproj#13451)
Browse files Browse the repository at this point in the history
* Wrapped system extension component into Page

Signed-off-by: Egor Margineanu <egmar@users.noreply.github.com>

* Added missing semicolon

Signed-off-by: Egor Margineanu <egmar@users.noreply.github.com>

* Empty commit to trigger checks

Signed-off-by: Egor Margineanu <egmar@users.noreply.github.com>

---------

Signed-off-by: Egor Margineanu <egmar@users.noreply.github.com>
  • Loading branch information
egmar committed May 14, 2023
1 parent ec0cb9d commit 7825821
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import help from './help';
import login from './login';
import settings from './settings';
import {Layout} from './shared/components/layout/layout';
import {Page} from './shared/components/page/page';
import {VersionPanel} from './shared/components/version-info/version-info-panel';
import {AuthSettingsCtx, Provider} from './shared/context';
import {services} from './shared/services';
Expand Down Expand Up @@ -176,7 +177,9 @@ export class App extends React.Component<
<Helmet>
<title>{extension.title} - Argo CD</title>
</Helmet>
<extension.component />
<Page title={extension.title}>
<extension.component />
</Page>
</>
);
extendedRoutes[extension.path] = {
Expand Down

0 comments on commit 7825821

Please sign in to comment.