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

Fix error message regarding too many builds #430

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/ServalApp/serval_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ def number_of_active_builds_for(client: str):
if st.form_submit_button("Generate translations"):
if number_of_active_builds_for(st.session_state.client_id) >= 3:
st.session_state.tried_to_submit = True
st.session_state.error = "There is already an a pending or active build associated with this client id. \
Please wait for the previous build to finish."
st.session_state.error = "There are already 3 or more pending or active builds associated with this client id. \
Please wait for a build to finish."
elif (
st.session_state.source_language != ""
and st.session_state.target_language != ""
Expand Down
Loading