File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
plugins/populator/frontend/public/javascripts Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 18751875 } ) ;
18761876 }
18771877
1878+ /**
1879+ * Create 3 survey widgets
1880+ * @param {function } callback - callback method
1881+ */
18781882 function generateSurveryWidgets ( callback ) {
18791883 if ( countlyGlobal . plugins . indexOf ( "surveys" ) !== - 1 && countlyAuth . validateCreate ( "surveys" ) && _featuresToPopulate . includes ( "surveys" ) ) {
18801884 generateSurveyWidgets1 ( function ( ) {
18951899 } , 100 ) ;
18961900 } ) ;
18971901 } ) ;
1898-
1902+
18991903 }
19001904
19011905
Original file line number Diff line number Diff line change 5858 { value : "push" , label : CV . i18n ( "push-notification.title" ) } ,
5959 { value : "star-rating" , label : CV . i18n ( "star-rating.plugin-title" ) } ,
6060 { value : "surveys" , label : CV . i18n ( "surveys.plugin-title" ) } ,
61- ]
61+ ] ;
6262 return plugins . filter ( function ( plugin ) {
6363 return CountlyHelpers . isPluginEnabled ( plugin . value ) ;
64- } ) ;
64+ } ) ;
6565 }
6666 } ,
6767 methods : {
You can’t perform that action at this time.
0 commit comments