fix for tor browser

This commit is contained in:
wireless_purple 2024-07-14 18:56:50 +00:00
parent 8f6423172d
commit 4de325c2ff
2 changed files with 19 additions and 0 deletions

View file

@ -13,6 +13,9 @@
} }
} }
}, },
"files": {
"ignore": ["build"]
},
"overrides": [ "overrides": [
{ {
"include": ["*.svelte"] "include": ["*.svelte"]

View file

@ -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">