[fix] misspelling
This commit is contained in:
parent
60828dc2ba
commit
22d93f10d9
1 changed files with 2 additions and 2 deletions
|
|
@ -106,8 +106,8 @@ func (table Table) validateList() error {
|
|||
|
||||
filters, ok := table.List.Layout["filters"].([]interface{})
|
||||
if ok {
|
||||
for idx, fliter := range filters {
|
||||
fli, ok := fliter.(map[string]interface{})
|
||||
for idx, filter := range filters {
|
||||
fli, ok := filter.(map[string]interface{})
|
||||
if !ok {
|
||||
return fmt.Errorf("list.layout.filters.%d format error", idx)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue