Skip to content

Commit

Permalink
Fixed recently introduced bug related to token storage.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdoe committed Jan 19, 2024
1 parent 0391042 commit dbf860a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ struct AddGitHubPipelineSheet: View {
.frame(minWidth: 405)
.padding()
.onAppear() {
authenticator.token = cachedToken
authenticator.token = !cachedToken.isEmpty ? cachedToken : nil
authenticator.tokenDescription = cachedToken
}
.onDisappear() {
Expand Down

0 comments on commit dbf860a

Please sign in to comment.