fix: make custom search select handle undefined options (#1094)

* fix: make search select handle undefined options

* fix: kanban y-scroll
This commit is contained in:
Aaryan Khandelwal 2023-05-20 16:00:41 +05:30 committed by GitHub
parent 012486df11
commit 9ccc35d181
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 179 additions and 180 deletions

View file

@ -89,7 +89,7 @@ export const cosineSimilarity = (a: string, b: string) => {
};
export const generateRandomColor = (string: string): string => {
if (!string) return "var(--color-accent)";
if (!string) return "rgb(var(--color-accent))";
string = `${string}`;