mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Merge pull request #2294 from shashankmehta/apps-config
Shifts app UI behind config option
This commit is contained in:
commit
a17067d8e6
1 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,11 @@
|
|||
initialize: function (options) {
|
||||
this.render();
|
||||
this.menu = this.$('.settings-menu');
|
||||
// Hides apps UI unless config.js says otherwise
|
||||
// This will stay until apps UI is ready to ship
|
||||
if ($(this.el).attr('data-apps') !== "true") {
|
||||
this.menu.find('.apps').hide();
|
||||
}
|
||||
this.showContent(options.pane);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue