mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: edit headers
This commit is contained in:
1 parent
53d811eeef
commit
5f256ed84d
10 files changed
+155
-50
No files matched your search
@@ -1,8 +1,10 @@
|
||||
export function generateTierListParams(tanks: number[][]) {
|
||||
import type { TierList } from '../../stores/tierList';
|
||||
|
||||
export function generateTierListParams(rows: TierList['rows']) {
|
||||
const params = new URLSearchParams();
|
||||
|
||||
tanks.forEach((row, index) => {
|
||||
params.set(`row-${index}`, row.join(','));
|
||||
rows.forEach((row, index) => {
|
||||
params.set(`row-${index}`, row.tanks.join(','));
|
||||
});
|
||||
|
||||
return params;
|
||||
|
||||
Reference in new issue
Block a user