We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 138c4c1 commit 6e3e0a5Copy full SHA for 6e3e0a5
ui/src/Components/DashBoard/Repository/GitComponents/GitOperation/PushComponent.js
@@ -240,7 +240,13 @@ export default function PushComponent(props) {
240
{unpushedCommits && unpushedCommits.length > 0 ? (
241
<div className="git-ops--push--unpushed">
242
<div className="git-ops--push--unpushed--label">
243
- Commits to be pushed
+ {unpushedCommits.length !== 0 ? (
244
+ <span className="mx-1 border-b border-dashed border-gray-600">
245
+ {unpushedCommits.length}
246
+ </span>
247
+ ) : null}
248
+ {unpushedCommits.length === 1 ? "Commit " : "Commits "}
249
+ to be pushed
250
</div>
251
<div className="overflow-auto" style={{ height: "200px" }}>
252
{unpushedCommits.map((commits, index) => {
0 commit comments