fix respirces listing

This commit is contained in:
CHIEFSOFT\ameye
2024-10-30 09:15:02 -04:00
parent 0817ba27a6
commit b67f9646f0
+14 -43
View File
@@ -133,8 +133,6 @@ class WrenchResources extends BaseController
//************************
private function AskCategoryData(): array
{
$arrayVar = [
"data" => [
[
@@ -154,7 +152,6 @@ class WrenchResources extends BaseController
private function uploadTypes(): array
{
//JPG, PNG, GIP, SVG, MP4, MP3, WEBM, OGG, GLB, GLTF
$arrayVar = [
"data" => [
@@ -188,69 +185,43 @@ class WrenchResources extends BaseController
"name" => "MP4",
"max_size_mb" => "60",
],
]
];
return $arrayVar;
}
private function CategoryData(): array
{
$arrayVar = [
return [
"data" => [
[
"id" => "0",
"name" => "blog",
"content" => "Blog",
"enabled" => 1
],
[
"id" => "1",
"name" => "onsale",
"content" => "Questions?",
"enabled" => 1
],
[
"id" => "2",
"name" => "owned",
"content" => "Interesting",
"enabled" => 0
],
[
"id" => "3",
"id" => "1",
"name" => "created",
"content" => "My Items",
"enabled" => 1
],
[
"id" => "2",
"name" => "blog",
"content" => "Blog",
"enabled" => 1
],
[
"id" => "3",
"name" => "owned",
"content" => "Interesting",
"enabled" => 0
],
]
];
/*
* [
"id" => "4",
"name" => "hidden",
"content" => "Hidden",
],
[
"id" => "5",
"name" => "collection",
"content" => "Collection",
],
[
"id" => "6",
"name" => "activity",
"content" => "Activity",
],
*/
return $arrayVar;
}
//************************************
public function index()
{