mirror of
https://gitea.gf4.pw/gf4/haveno-markets.git
synced 2024-12-22 08:09:21 +00:00
fix for tor browser
This commit is contained in:
parent
8f6423172d
commit
4de325c2ff
2 changed files with 19 additions and 0 deletions
|
@ -13,6 +13,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"files": {
|
||||||
|
"ignore": ["build"]
|
||||||
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"include": ["*.svelte"]
|
"include": ["*.svelte"]
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
<script>
|
||||||
|
Object.groupBy ||= (values, keyFinder) => {
|
||||||
|
return values.reduce((a, b) => {
|
||||||
|
const key = typeof keyFinder === "function" ? keyFinder(b) : b[keyFinder];
|
||||||
|
|
||||||
|
if (!a[key]) {
|
||||||
|
a[key] = [b];
|
||||||
|
} else {
|
||||||
|
a[key] = [...a[key], b];
|
||||||
|
}
|
||||||
|
|
||||||
|
return a;
|
||||||
|
}, {});
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
<div class="col app">
|
<div class="col app">
|
||||||
<div class="row header">
|
<div class="row header">
|
||||||
<span style="display:flex;align-items:center;gap:.2em;width:128px">
|
<span style="display:flex;align-items:center;gap:.2em;width:128px">
|
||||||
|
|
Loading…
Reference in a new issue