Browse Source

remove note and publish from pagebuilder overview dialog

zealllot 1 year ago
parent
commit
5cf0637a45
1 changed files with 2 additions and 2 deletions
  1. 2 2
      example/admin/config.go

+ 2 - 2
example/admin/config.go

@@ -500,7 +500,7 @@ func NewConfig() Config {
 
 
 	b.GetWebBuilder().RegisterEventFunc(noteMarkAllAsRead, markAllAsRead(db))
 	b.GetWebBuilder().RegisterEventFunc(noteMarkAllAsRead, markAllAsRead(db))
 
 
-	note.Configure(db, b, m, pm)
+	note.Configure(db, b, m)
 
 
 	if err := db.AutoMigrate(&UserUnreadNote{}); err != nil {
 	if err := db.AutoMigrate(&UserUnreadNote{}); err != nil {
 		panic(err)
 		panic(err)
@@ -517,7 +517,7 @@ func NewConfig() Config {
 	microsite_views.Configure(b, db, ab, PublishStorage, publisher, mm)
 	microsite_views.Configure(b, db, ab, PublishStorage, publisher, mm)
 	l10nM, l10nVM := configL10nModel(b)
 	l10nM, l10nVM := configL10nModel(b)
 	_ = l10nM
 	_ = l10nM
-	publish_view.Configure(b, db, ab, publisher, m, l, pm, product, category, l10nVM)
+	publish_view.Configure(b, db, ab, publisher, m, l, product, category, l10nVM)
 
 
 	initLoginBuilder(db, b, ab)
 	initLoginBuilder(db, b, ab)