fix js issue with main view #66
|
@ -58,12 +58,12 @@ if (count($items[0]) == 0) {
|
||||||
// we did not retrieve a menu from the wordpress site
|
// we did not retrieve a menu from the wordpress site
|
||||||
// let's create a default menu
|
// let's create a default menu
|
||||||
if ($wordpress_site) {
|
if ($wordpress_site) {
|
||||||
$project_item = [
|
$collections_item = [
|
||||||
"id" => 1,
|
"id" => 1,
|
||||||
"title" => "Project",
|
"title" => "Collections",
|
||||||
"url" => $wordpress_site
|
"url" => "/"
|
||||||
];
|
];
|
||||||
$items[0][1] = $project_item;
|
$items[0][1] = $collections_item;
|
||||||
}
|
}
|
||||||
$login_item = [
|
$login_item = [
|
||||||
"id" => 2,
|
"id" => 2,
|
||||||
|
|
Loading…
Reference in New Issue