diff --git a/frontend/src/components/settings/git/status/OutgoingChanges.jsx b/frontend/src/components/settings/git/status/OutgoingChanges.jsx index c312d11..6d05e6d 100644 --- a/frontend/src/components/settings/git/status/OutgoingChanges.jsx +++ b/frontend/src/components/settings/git/status/OutgoingChanges.jsx @@ -52,16 +52,6 @@ const OutgoingChanges = ({ /> Ready to Push ({totalUnpushedCommits}) -
- } - tooltip='Push Changes' - className='bg-gray-700' - /> -
@@ -123,6 +113,33 @@ const OutgoingChanges = ({ className='bg-gray-700' disabledTooltip={getButtonTooltips.revert()} /> + {hasUnpushedCommits && ( + } + tooltip={ +
+
Push Changes
+ {unpushedFiles?.length > 0 && ( +
+ {unpushedFiles.map( + (file, index) => ( +
+ • {file.type}:{' '} + {file.name} +
+ ) + )} +
+ )} +
+ } + className='bg-gray-700' + disabledTooltip='No changes to push' + /> + )}
{changes.length > 0 && (