reorganized account page component templates more
This commit is contained in:
+1
-1
@@ -145,5 +145,5 @@
|
||||
</summary>
|
||||
|
||||
{{/* TODO: how to remove the platform from the path twice? */}}
|
||||
{{ component ( printf "/accounts/%d/platforms/%s/link-sections/links/%s" $acctID $platform $platform ) }}
|
||||
{{ component ( printf "/accounts/%d/platform-links/%s" $acctID $platform ) }}
|
||||
</details>
|
||||
+1
-1
@@ -98,7 +98,7 @@
|
||||
class="p-[1em] text-center"
|
||||
>
|
||||
{{- $pathSegment := lowerSnakeCase (printf "%s" $platform) }}
|
||||
{{- component (printf "/accounts/%d/platforms/%s/link-sections" $acctID $pathSegment) }}
|
||||
{{- component (printf "/accounts/%d/platforms/%s/link-section" $acctID $pathSegment) }}
|
||||
</div>
|
||||
</details>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user