From 9d452ed8cbe20e1fcb7c987363d9239eb009af33 Mon Sep 17 00:00:00 2001 From: jude Date: Fri, 10 May 2024 17:37:27 +0100 Subject: [PATCH] Fix role selector --- Cargo.lock | 2 +- Cargo.toml | 2 +- reminder-dashboard/src/components/App/Mentions.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f4d4027..153bfb0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2502,7 +2502,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "reminder-rs" -version = "1.7.16" +version = "1.7.17" dependencies = [ "axum", "base64 0.22.0", diff --git a/Cargo.toml b/Cargo.toml index 5610bd0..0e854e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reminder-rs" -version = "1.7.16" +version = "1.7.17" authors = ["Jude Southworth "] edition = "2021" license = "AGPL-3.0 only" diff --git a/reminder-dashboard/src/components/App/Mentions.tsx b/reminder-dashboard/src/components/App/Mentions.tsx index 5ea9d7b..76161c3 100644 --- a/reminder-dashboard/src/components/App/Mentions.tsx +++ b/reminder-dashboard/src/components/App/Mentions.tsx @@ -17,7 +17,7 @@ export const Mentions = ({ input }) => { { trigger: "@", values: (roles || []) - .filter((role) => role.name === "@everyone") + .filter((role) => role.name !== "@everyone") .map(({ id, name }) => ({ key: name, value: id })), allowSpaces: true, selectTemplate: (item) => `<@&${item.original.value}>`,