nodebb-plugin-equipment-calendar 9.0.7 → 9.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/library.js CHANGED
@@ -187,12 +187,8 @@ async function setSettings(payload) {
187
187
  Object.keys(payload || {}).forEach((k) => {
188
188
  sets[k] = JSON.stringify(payload[k]);
189
189
  });
190
- await setSettings(payload);
190
+ await meta.settings.set('equipmentCalendar', sets);
191
191
  }
192
-
193
-
194
-
195
-
196
192
  function parseLocationMap(locationMapJson) {
197
193
  try {
198
194
  const obj = JSON.parse(locationMapJson || '{}');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-equipment-calendar",
3
- "version": "9.0.7",
3
+ "version": "9.0.8",
4
4
  "description": "Equipment reservation calendar for NodeBB (FullCalendar, approvals, HelloAsso payments)",
5
5
  "main": "library.js",
6
6
  "scripts": {
package/plugin.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "scripts": [
26
26
  "public/js/client.js"
27
27
  ],
28
- "version": "3.0.0-stable4u-official-acp",
28
+ "version": "3.0.0-stable4v-fix-payload",
29
29
  "minver": "4.7.1",
30
30
  "acpScripts": [
31
31
  "public/js/admin.js"
@@ -2,7 +2,7 @@
2
2
  <div class="acp-page-container">
3
3
  <h1 class="mb-3">Equipment Calendar</h1>
4
4
 
5
- <form role="form" class="equipment-calendar-settings">
5
+ <div class="equipment-calendar-settings">
6
6
  <div class="card card-body mb-3">
7
7
  <h5 class="mb-3">Permissions</h5>
8
8
  <div class="mb-3">
@@ -64,7 +64,7 @@
64
64
  </div>
65
65
 
66
66
  <button id="save" type="button" class="btn btn-primary">Enregistrer</button>
67
- </form>
67
+ </div>
68
68
  </div>
69
69
 
70
70
  <script>