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": [
|
||||
{
|
||||
"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="row header">
|
||||
<span style="display:flex;align-items:center;gap:.2em;width:128px">
|
||||
|
|
Loading…
Reference in a new issue