Explorar el Código

fix: Available models could not be populated when adding a new channel

akl7777777 hace 1 año
padre
commit
6f1bef66a7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/src/pages/Channel/EditChannel.js

+ 1 - 1
web/src/pages/Channel/EditChannel.js

@@ -209,7 +209,7 @@ const EditChannel = (props) => {
             }
           })
           if (res.data && res.data?.success) {
-            models.push(...es.data.data.map((model) => model.id))
+            models.push(...res.data.data.map((model) => model.id))
           } else {
             err = true
           }