This commit is contained in:
2023-07-26 13:32:39 +03:00
parent f731cf246f
commit 272e385318
167 changed files with 5194 additions and 890 deletions

View File

@@ -14,9 +14,9 @@ func flattenGrid(d *schema.ResourceData, grid *grid.RecordGrid) {
d.Set("id", grid.ID)
}
func flattenGridList(gl grid.ListGrids) []map[string]interface{} {
func flattenGridList(gl *grid.ListGrids) []map[string]interface{} {
res := make([]map[string]interface{}, 0)
for _, item := range gl {
for _, item := range gl.Data {
temp := map[string]interface{}{
"name": item.Name,
"flag": item.Flag,