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
|
|
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
package/plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="acp-page-container">
|
|
3
3
|
<h1 class="mb-3">Equipment Calendar</h1>
|
|
4
4
|
|
|
5
|
-
<
|
|
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
|
-
</
|
|
67
|
+
</div>
|
|
68
68
|
</div>
|
|
69
69
|
|
|
70
70
|
<script>
|