File tree 1 file changed +2
-2
lines changed
plugins/dbviewer/frontend/public/javascripts
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ window.DBViewerView = countlyView.extend({
83
83
$ ( '#app-list' ) . prepend ( '<div data-value="all" class="app-option item" data-localize=""><span class="app-title-in-dropdown">' + $ . i18n . map [ "common.all" ] + '</span></div>' ) ;
84
84
// append list items
85
85
for ( var key in countlyGlobal . apps ) {
86
- if ( ! countlyGlobal . member . app_restrict || ( countlyGlobal . member . app_restrict && ! countlyGlobal . member . app_restrict . hasOwnProperty ( key ) ) ) {
87
- $ ( '#app-list' ) . append ( '<div data-value="' + countlyGlobal . apps [ key ] . _id + '" class="app-option item" data-localize=""><span class="app-title-in-dropdown">' + countlyGlobal . apps [ key ] . name + '</span></div>' ) ;
86
+ if ( ! countlyGlobal . member . app_restrict || ( countlyGlobal . member . app_restrict && ! countlyGlobal . member . app_restrict [ key ] ) ) {
87
+ $ ( '#app-list' ) . append ( '<div data-value="' + countlyGlobal . apps [ key ] . _id + '" class="app-option item" data-localize=""><span class="app-title-in-dropdown">' + countlyGlobal . apps [ key ] . name + '</span></div>' ) ;
88
88
}
89
89
}
90
90
// set height
You can’t perform that action at this time.
0 commit comments