diff --git a/src/js/controllers/ctrl-admin-widget.js b/src/js/controllers/ctrl-admin-widget.js index b57e2cac..01845d06 100644 --- a/src/js/controllers/ctrl-admin-widget.js +++ b/src/js/controllers/ctrl-admin-widget.js @@ -8,6 +8,7 @@ app.controller('adminWidgetController', function($scope, Please, adminSrv) { is_editable: widget.is_editable, is_scorable: widget.is_scorable, is_playable: widget.is_playable, + restrict_publish: widget.restrict_publish, about: widget.meta_data.about, excerpt: widget.meta_data.excerpt, demo: widget.meta_data.demo diff --git a/src/js/controllers/ctrl-admin-widget.test.js b/src/js/controllers/ctrl-admin-widget.test.js index ab7f9b81..8537acc9 100644 --- a/src/js/controllers/ctrl-admin-widget.test.js +++ b/src/js/controllers/ctrl-admin-widget.test.js @@ -70,6 +70,7 @@ describe('adminWidgetController', () => { is_editable: 'f', is_scorable: 'f', is_playable: 'f', + restrict_publish: 'f', meta_data: { about: 'f', excerpt: 'f',