feat: add stash access in clean git state
Show a Stashes button when the working tree is clean Keep stash management available even without visible file changes
This commit is contained in:
@@ -982,7 +982,7 @@ export const GitView: React.FC = () => {
|
||||
} else if (pushedChanges) {
|
||||
toast.success(t('gitView.toast.pushedToUpstream'));
|
||||
} else {
|
||||
toast.success(t('gitView.toast.syncedChanges'));
|
||||
toast.success(t('gitView.toast.alreadyUpToDate'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1104,7 +1104,7 @@ export const GitView: React.FC = () => {
|
||||
} else if (pushedChanges) {
|
||||
toast.success(t('gitView.toast.pushedToUpstream'));
|
||||
} else {
|
||||
toast.success(t('gitView.toast.syncedChanges'));
|
||||
toast.success(t('gitView.toast.alreadyUpToDate'));
|
||||
}
|
||||
|
||||
triggerFireworks();
|
||||
@@ -2241,7 +2241,7 @@ export const GitView: React.FC = () => {
|
||||
/>
|
||||
</>
|
||||
) : (
|
||||
<GitEmptyState />
|
||||
<GitEmptyState onOpenStashes={() => setIsStashesDialogOpen(true)} />
|
||||
)}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user