Skip to content

Commit

Permalink
feat: upgrade tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Sep 18, 2024
1 parent 0d75c88 commit dabeef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ pub async fn select_tags() -> Result<Vec<String>, ServerFnError> {
tags.sort();
let tags = tags
.into_iter()
.map(|tag| tag.to_lowercase())
.collect::<std::collections::HashSet<_>>()
.into_iter()
.collect();
.collect::<Vec<_>>();

Ok(tags)
}
Expand Down

0 comments on commit dabeef3

Please sign in to comment.