diff options
author | Frederick Muriuki Muriithi | 2023-07-11 15:34:47 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-07-11 15:34:47 +0300 |
commit | e641d9082d77b93f6d492994e2edc63fabb5b50c (patch) | |
tree | 611975dd6d4f92aaf6cb3ef534ca084d6b019c5c | |
parent | 904dd7733beea34aa449f72246746b5a7fdcc8ea (diff) | |
download | genenetwork2-e641d9082d77b93f6d492994e2edc63fabb5b50c.tar.gz |
BugFix: UX: Display the success notification correctly
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 141a6711..3c996ce3 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -659,7 +659,7 @@ def reject_data(resource_id: str, file_name: str): os.path.join(f"{TMPDIR}/sample-data/diffs", file_name), os.path.join(f"{TMPDIR}/sample-data/diffs", f"{file_name}.rejected"), ) - flash(f"{file_name} has been rejected!", "success") + flash(f"{file_name} has been rejected!", "alert-success") return redirect(url_for("metadata_edit.list_diffs")) |