@noatgnu/cupcake-core 1.2.11 → 1.2.13
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.
|
@@ -1245,6 +1245,7 @@ class SiteConfigService extends BaseApiService {
|
|
|
1245
1245
|
primaryColor: '#1976d2',
|
|
1246
1246
|
allowUserRegistration: false,
|
|
1247
1247
|
enableOrcidLogin: false,
|
|
1248
|
+
bookingDeletionWindowMinutes: 30,
|
|
1248
1249
|
installedApps: {},
|
|
1249
1250
|
createdAt: new Date().toISOString(),
|
|
1250
1251
|
updatedAt: new Date().toISOString()
|
|
@@ -1276,6 +1277,9 @@ class SiteConfigService extends BaseApiService {
|
|
|
1276
1277
|
}
|
|
1277
1278
|
});
|
|
1278
1279
|
}
|
|
1280
|
+
refreshConfig() {
|
|
1281
|
+
this.loadConfig();
|
|
1282
|
+
}
|
|
1279
1283
|
fetchConfigFromBackend() {
|
|
1280
1284
|
return this.get(`${this.apiUrl}/site-config/public/`);
|
|
1281
1285
|
}
|