Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Fix the bug for env badge #302

Merged
merged 1 commit into from
Jan 8, 2022
Merged

Fix the bug for env badge #302

merged 1 commit into from
Jan 8, 2022

Conversation

noahingh
Copy link
Member

@noahingh noahingh commented Jan 8, 2022

No description provided.

@noahingh noahingh added the bug Something isn't working label Jan 8, 2022
@noahingh noahingh linked an issue Jan 8, 2022 that may be closed by this pull request
if (action.payload) {
state.currentDeployment = action.payload
}
state.currentDeployment = action.payload? action.payload : undefined
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set undefined when there is no the latest deployment for an environment.

@noahingh noahingh marked this pull request as ready for review January 8, 2022 07:21
@noahingh noahingh merged commit b8fd1eb into main Jan 8, 2022
@noahingh noahingh deleted the fix-env-badge branch January 8, 2022 07:21
noahingh pushed a commit that referenced this pull request Jan 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Environment badge is not changed
1 participant