mirror of
https://github.com/plankanban/planka.git
synced 2025-12-08 09:13:10 +03:00
@@ -13,7 +13,7 @@ const Errors = {
|
||||
|
||||
const CURRENT_USER_ID = 'me';
|
||||
|
||||
const ID_OR_CURRENT_USER_ID_REGEX = new RegExp(`${ID_REGEX}|^${CURRENT_USER_ID}$`);
|
||||
const ID_OR_CURRENT_USER_ID_REGEX = new RegExp(`${ID_REGEX.source}|^${CURRENT_USER_ID}$`);
|
||||
|
||||
const isCurrentUserIdOrIdInRange = (value) => value === CURRENT_USER_ID || isIdInRange(value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user