feat: redact locations
This commit is contained in:
parent
d72903b21f
commit
7d561b6fec
1 changed files with 4 additions and 2 deletions
|
@ -8,11 +8,13 @@
|
|||
{{- $locations := ( dict ) -}}
|
||||
|
||||
{{- range $k, $v := . -}}
|
||||
{{- if not ( isset $v "redact" ) -}}
|
||||
{{- if ( isset $v "lat" ) -}}
|
||||
{{- $locations = merge $locations ( dict $k $v ) -}}
|
||||
{{- $locations = merge $locations ( dict $k $v ) -}}
|
||||
{{- else -}}
|
||||
{{- $locations = merge $locations ( partial "util/get_location_leaf_nodes.html" . ) -}}
|
||||
{{- $locations = merge $locations ( partial "util/get_location_leaf_nodes.html" . ) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- return $locations -}}
|
||||
|
|
Loading…
Add table
Reference in a new issue