PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
← All changes | assets/src/apps/js/admin/editor/getters/course.js +31 -31 4.3.8 → 4.4.9 View file →
@@ -1,31 +1,31 @@
1 -const Course = {
2 - heartbeat: function( state ) {
3 - return state.heartbeat;
4 - },
5 - action: function( state ) {
6 - return state.action;
7 - },
8 - id: function( state ) {
9 - return state.course_id;
10 - },
11 - autoDraft: function( state ) {
12 - return state.auto_draft;
13 - },
14 - disable_curriculum: function( state ) {
15 - return state.disable_curriculum;
16 - },
17 - status: function( state ) {
18 - return state.status || 'error';
19 - },
20 - currentRequest: function( state ) {
21 - return state.countCurrentRequest || 0;
22 - },
23 - urlAjax: function( state ) {
24 - return state.ajax;
25 - },
26 - nonce: function( state ) {
27 - return state.nonce;
28 - },
29 -};
30 -
31 -export default Course;
1 +const Course = {
2 + heartbeat: function( state ) {
3 + return state.heartbeat;
4 + },
5 + action: function( state ) {
6 + return state.action;
7 + },
8 + id: function( state ) {
9 + return state.course_id;
10 + },
11 + autoDraft: function( state ) {
12 + return state.auto_draft;
13 + },
14 + disable_curriculum: function( state ) {
15 + return state.disable_curriculum;
16 + },
17 + status: function( state ) {
18 + return state.status || 'error';
19 + },
20 + currentRequest: function( state ) {
21 + return state.countCurrentRequest || 0;
22 + },
23 + urlAjax: function( state ) {
24 + return state.ajax;
25 + },
26 + nonce: function( state ) {
27 + return state.nonce;
28 + },
29 +};
30 +
31 +export default Course;