This commit is contained in:
Rizky 2024-08-13 17:34:38 +07:00
parent b36a0a61fa
commit 37c5ebabd8
3 changed files with 22 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@ -153,7 +153,7 @@ export const fetchSendDb = async (params: any, dburl: string) => {
params.mlsid = localStorage.mlsid;
}
const hsum = hash_sum(params);
const hsum = hash_sum({ ...params, dburl });
let isEditor = false;
if (

View File

@ -10,7 +10,7 @@ export const EdUserConn = ({ client_ids }: { client_ids: string[] }) => {
useEffect(() => {
client_ids.forEach((e) => {
if (!p.clients[e]) {
p.sync.client.info(client_ids).then((res) => {
p.sync?.client.info(client_ids).then((res) => {
p.clients = { ...p.clients, ...res };
p.render();
});
@ -21,7 +21,10 @@ export const EdUserConn = ({ client_ids }: { client_ids: string[] }) => {
return (
<>
{client_ids.map((e) => {
const bg = tinycolor(stringToColour(e)).darken(20).desaturate(30).toString();
const bg = tinycolor(stringToColour(e))
.darken(20)
.desaturate(30)
.toString();
const fg = "#ffffff";
return (
<Tooltip