From ebe2731638871b243bf1c5e283f0b79f85b84645 Mon Sep 17 00:00:00 2001 From: Colin Tucker Date: Sat, 9 Sep 2017 12:58:47 +1000 Subject: [PATCH] Added config for hiding disabled page types --- app/_config/admin.yml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/_config/admin.yml b/app/_config/admin.yml index a8a9ae6..5711452 100644 --- a/app/_config/admin.yml +++ b/app/_config/admin.yml @@ -9,6 +9,7 @@ SilverStripe\Admin\LeftAndMain: - app/admin/client/dist/styles/bundle.css extra_requirements_javascript: - app/admin/client/dist/js/bundle.js + hide_disabled_page_types: true admin_style: ColorBackgroundMenuHeader: '#005b94' ColorForegroundSiteName: '#fff' diff --git a/composer.json b/composer.json index 9d784b1..4a04e7b 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "silverware/model-filters": "^1.0", "silverware/navigation": "^1.1", "silverware/open-graph": "^1.0", - "silverware/silverware": "^1.1", + "silverware/silverware": "^1.2", "silverware/spam-guard": "^1.0", "silverware/theme": "^1.2", "silverware/validator": "^1.1"