Better random Ids for tags

This commit is contained in:
Cohee 2023-08-17 14:19:20 +03:00
parent 728ffd1628
commit 928c8e544f
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import {
} from "../script.js";
import { selected_group } from "./group-chats.js";
import { uuidv4 } from "./utils.js";
export {
tags,
@ -24,7 +25,7 @@ export {
importTags,
};
const random_id = () => Math.round(Date.now() * Math.random()).toString();
const random_id = () => uuidv4();
const TAG_LOGIC_AND = true; // switch to false to use OR logic for combining tags
const CHARACTER_SELECTOR = '#rm_print_characters_block > div';
const GROUP_MEMBER_SELECTOR = '#rm_group_add_members > div';