chore: remove position from quadrant config

This commit is contained in:
Mathias Schopmans
2024-03-05 10:45:50 +01:00
committed by Mathias Schopmans
parent a9561a55b4
commit dc629d83e1
3 changed files with 7 additions and 10 deletions

View File

@@ -48,7 +48,7 @@ export function getTags(): string[] {
}
export function getQuadrants(): Quadrant[] {
return config.quadrants;
return config.quadrants.map((q, i) => ({ ...q, position: i + 1 }));
}
export function getQuadrant(id: string): Quadrant | undefined {