Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(version): show git commit and env [EE-6021] #10748

Merged
merged 3 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(version): hide env
  • Loading branch information
Chaim Lev-Ari committed Jan 8, 2024
commit 07e98ff80e82d788a962424df025a1d47a675790
2 changes: 1 addition & 1 deletion app/react/portainer/system/useSystemVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface VersionResponse {
WebpackVersion: string;
GoVersion: string;
GitCommit: string;
Env: string[];
Env?: string[];
};
}

Expand Down
2 changes: 1 addition & 1 deletion app/react/sidebar/Footer/BuildInfoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function BuildInfoModal({ closeModal }: { closeModal: () => void }) {
</div>
</div>

{isAdmin && (
{isAdmin && Build.Env && (
<div className={clsx(styles.toolsList, 'mt-3')}>
<span className="inline-flex items-center ">
<Variable size="13" className="space-right" />
Expand Down
Loading