Fixed bugs caused by code style optimising

This commit is contained in:
PMKuipers 2024-06-28 14:04:21 +02:00
parent 848457e7cc
commit 428ea13551
2 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,7 @@ import RVComponents from 'local_treestudyplan/report-viewer-components';
import TSComponents from 'local_treestudyplan/treestudyplan-components'; import TSComponents from 'local_treestudyplan/treestudyplan-components';
import Debugger from 'local_treestudyplan/util/debugger'; import Debugger from 'local_treestudyplan/util/debugger';
import {load_strings} from 'local_treestudyplan/util/string-helper'; import {loadStrings} from 'local_treestudyplan/util/string-helper';
import {ProcessStudyplans} from 'local_treestudyplan/studyplan-processor'; import {ProcessStudyplans} from 'local_treestudyplan/studyplan-processor';
import PortalVue from 'local_treestudyplan/portal-vue/portal-vue.esm'; import PortalVue from 'local_treestudyplan/portal-vue/portal-vue.esm';
@ -28,7 +28,7 @@ Vue.use(BootstrapVue);
let debug = new Debugger("mytreestudyplan"); let debug = new Debugger("mytreestudyplan");
debug.enable(); debug.enable();
let strings = load_strings({ let strings = loadStrings({
studyplan: { studyplan: {
}, },

View File

@ -22,7 +22,7 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$plugin->component = 'block_mytreestudyplan'; // Recommended since 2.0.2 (MDL-26035). Required since 3.0 (MDL-48494). $plugin->component = 'block_mytreestudyplan'; // Recommended since 2.0.2 (MDL-26035). Required since 3.0 (MDL-48494).
$plugin->version = 2023112700; // YYYYMMDDHH (year, month, day, iteration). $plugin->version = 2024062800; // YYYYMMDDHH (year, month, day, iteration).
$plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11). $plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11).
$plugin->release = "1.0.0"; $plugin->release = "1.0.0";
@ -31,5 +31,5 @@ $plugin->maturity = MATURITY_RC;
$plugin->supported = [ 311, 401 ]; $plugin->supported = [ 311, 401 ];
$plugin->dependencies = [ $plugin->dependencies = [
'local_treestudyplan' => 2023112400, 'local_treestudyplan' => 2024062800,
]; ];