Skip to content

Commit 347ece3

Browse files
committed
Merge pull request #4 from pencilblue/debvlog3
fixes #3 - home page settings button visible
2 parents efe2e5c + 411eeae commit 347ece3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devblog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ module.exports = function DevblogModule(pb) {
3838
* The result is ignored
3939
*/
4040
Devblog.onStartup = function(cb) {
41-
pb.AdminSubnavService.registerFor('plugin_settings', function(navKey, localization, plugin) {
42-
if(plugin.uid === 'devblog-pencilblue') {
41+
pb.AdminSubnavService.registerFor('plugin_settings', function(navKey, localization, data) {
42+
if(data.plugin.uid === 'devblog-pencilblue') {
4343
return [
4444
{
4545
name: 'home_page_settings',

0 commit comments

Comments
 (0)