Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • coscine/frontend/apps/ui
1 result
Select Git revision
Show changes
Commits on Source (3)
{ {
"name": "ui", "name": "ui",
"version": "2.13.1", "version": "2.13.2",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
......
...@@ -121,8 +121,9 @@ export const useMainStore = defineStore({ ...@@ -121,8 +121,9 @@ export const useMainStore = defineStore({
} }
// Inject banner // Inject banner
if (Object.keys(this.coscine.banner.maintenance).length === 0) { if (Object.keys(this.coscine.banner.maintenance).length === 0) {
const startsDate = new Date(2024, 4, 22, 0, 0, 0).toUTCString(); // Javascript sets months to 0
const endsDate = new Date(2024, 5, 7, 0, 0, 0).toUTCString(); const startsDate = new Date(2024, 3, 22, 0, 0, 0).toUTCString();
const endsDate = new Date(2024, 4, 7, 0, 0, 0).toUTCString();
const injectedBanner = { const injectedBanner = {
body: `Your opinion matters! The survey on the use of Coscine will take place from April 22 to May 7, 2024. Take the opportunity and help us to optimize the platform. The survey takes approximately 15 minutes. https://s2survey.net/coscine_2024/ body: `Your opinion matters! The survey on the use of Coscine will take place from April 22 to May 7, 2024. Take the opportunity and help us to optimize the platform. The survey takes approximately 15 minutes. https://s2survey.net/coscine_2024/
// //
......