mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 11:56:22 +02:00
Fix for #551 (visibility toggle on new page not working)
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
* Tweaked placeholders color in login/new user panels [#542](https://github.com/getgrav/grav-plugin-admin/issues/542)
|
||||
1. [](#bugfix)
|
||||
* Fix for showing empty drop-down with only one supported language [#522](https://github.com/getgrav/grav-plugin-admin/issues/522)
|
||||
* Fix for visibility toggle on new page not working [#551](https://github.com/getgrav/grav-plugin-admin/issues/551)
|
||||
|
||||
# v1.1.0-beta.2
|
||||
## 04/27/2016
|
||||
|
||||
@@ -767,6 +767,9 @@ class Admin
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($data['visible'] == 1 && !$page->order()) {
|
||||
$header['visible'] = $data['visible'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user