Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable create service token button while one is being created #1197

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

bprize15
Copy link
Contributor

No description provided.

@bprize15 bprize15 requested a review from calvinlu3 January 23, 2025 15:53
Comment on lines +140 to +142
setTimeout(() => {
this.isCreatingServiceAccountToken = false;
}, 100);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason for adding a small delay?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's a brief flicker where the button re-enables before the modal closes. This small delay mitigates that

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sounds good, thanks!

@bprize15 bprize15 merged commit 200a3da into master Jan 28, 2025
8 checks passed
@bprize15 bprize15 deleted the fix/duplicate-service-token branch January 28, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants