fix
This commit is contained in:
parent
b36a0a61fa
commit
37c5ebabd8
File diff suppressed because one or more lines are too long
|
|
@ -153,7 +153,7 @@ export const fetchSendDb = async (params: any, dburl: string) => {
|
||||||
params.mlsid = localStorage.mlsid;
|
params.mlsid = localStorage.mlsid;
|
||||||
}
|
}
|
||||||
|
|
||||||
const hsum = hash_sum(params);
|
const hsum = hash_sum({ ...params, dburl });
|
||||||
|
|
||||||
let isEditor = false;
|
let isEditor = false;
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ export const EdUserConn = ({ client_ids }: { client_ids: string[] }) => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
client_ids.forEach((e) => {
|
client_ids.forEach((e) => {
|
||||||
if (!p.clients[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.clients = { ...p.clients, ...res };
|
||||||
p.render();
|
p.render();
|
||||||
});
|
});
|
||||||
|
|
@ -21,7 +21,10 @@ export const EdUserConn = ({ client_ids }: { client_ids: string[] }) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{client_ids.map((e) => {
|
{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";
|
const fg = "#ffffff";
|
||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue