Ken 1 долоо хоног өмнө
parent
commit
b3795b790e

+ 1 - 1
app/Http/Controllers/admin/Menu.php

@@ -131,7 +131,7 @@ class Menu extends Controller
     public function all(): JsonResponse
     {
         $result = MenuService::findAll();
-//        $result = list_to_tree($result->toArray());
+        $result = list_to_tree($result->toArray());
         return $this->success($result);
     }