aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-07-11 15:34:47 +0300
committerFrederick Muriuki Muriithi2023-07-11 15:34:47 +0300
commite641d9082d77b93f6d492994e2edc63fabb5b50c (patch)
tree611975dd6d4f92aaf6cb3ef534ca084d6b019c5c
parent904dd7733beea34aa449f72246746b5a7fdcc8ea (diff)
downloadgenenetwork2-e641d9082d77b93f6d492994e2edc63fabb5b50c.tar.gz
BugFix: UX: Display the success notification correctly
-rw-r--r--wqflask/wqflask/metadata_edits.py2
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"))