From cdbd3cd9b4d21274f868cfb260f1f4b218e0a1c5 Mon Sep 17 00:00:00 2001 From: "IETM_FIXE\\ietm6" Date: Mon, 27 Apr 2026 19:03:58 +0200 Subject: [PATCH] =?UTF-8?q?Modification=20lors=20de=20la=20cr=C3=A9ation?= =?UTF-8?q?=20d'=C3=A9l=C3=A9ment=20de=20campagne=20:=20quand=20on=20cr?= =?UTF-8?q?=C3=A9er=20un=20nouvel=20=C3=A9l=C3=A9ment,=20on=20arrive=20sur?= =?UTF-8?q?=20la=20modification=20et=20non=20le=20r=C3=A9sum=C3=A9=20de=20?= =?UTF-8?q?l'=C3=A9l=C3=A9ment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/pom.xml | 2 +- installers/install.ps1 | 2 +- web/package-lock.json | 2 +- web/package.json | 2 +- web/src/app/campaigns/arc/arc-create/arc-create.component.ts | 2 +- .../app/campaigns/scene/scene-create/scene-create.component.ts | 2 +- web/src/app/lore/page-create/page-create.component.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 79d3f56..c5c74de 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -14,7 +14,7 @@ com.loremind loremind-core - 0.7.1 + 0.7.2 LoreMind Core Backend Core - Architecture Hexagonale diff --git a/installers/install.ps1 b/installers/install.ps1 index cbafff7..a964df1 100644 --- a/installers/install.ps1 +++ b/installers/install.ps1 @@ -40,7 +40,7 @@ Auteur : ietm64 Licence : AGPL-3.0 Projet : LoreMindMJ - assistant pour Maitres de Jeu de JDR - Version : 0.7.1 + Version : 0.7.2 .LINK https://github.com/IGMLcreation/LoreMind diff --git a/web/package-lock.json b/web/package-lock.json index 4cad094..b274fee 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,6 +1,6 @@ { "name": "loremind-web", - "version": "0.7.1", + "version": "0.7.2", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/web/package.json b/web/package.json index cbfefdd..b7d7465 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "loremind-web", - "version": "0.7.1", + "version": "0.7.2", "description": "LoreMind Frontend - Angular", "scripts": { "ng": "ng", diff --git a/web/src/app/campaigns/arc/arc-create/arc-create.component.ts b/web/src/app/campaigns/arc/arc-create/arc-create.component.ts index 648240e..6e7263a 100644 --- a/web/src/app/campaigns/arc/arc-create/arc-create.component.ts +++ b/web/src/app/campaigns/arc/arc-create/arc-create.component.ts @@ -89,7 +89,7 @@ export class ArcCreateComponent implements OnInit, OnDestroy { order: this.existingArcCount + 1, icon: this.selectedIcon }).subscribe({ - next: (created) => this.router.navigate(['/campaigns', this.campaignId, 'arcs', created.id]), + next: (created) => this.router.navigate(['/campaigns', this.campaignId, 'arcs', created.id, 'edit']), error: () => console.error('Erreur lors de la création de l\'arc') }); } diff --git a/web/src/app/campaigns/scene/scene-create/scene-create.component.ts b/web/src/app/campaigns/scene/scene-create/scene-create.component.ts index c97483e..014911b 100644 --- a/web/src/app/campaigns/scene/scene-create/scene-create.component.ts +++ b/web/src/app/campaigns/scene/scene-create/scene-create.component.ts @@ -94,7 +94,7 @@ export class SceneCreateComponent implements OnInit, OnDestroy { order: this.existingSceneCount + 1, icon: this.selectedIcon }).subscribe({ - next: (created) => this.router.navigate(['/campaigns', this.campaignId, 'arcs', this.arcId, 'chapters', this.chapterId, 'scenes', created.id]), + next: (created) => this.router.navigate(['/campaigns', this.campaignId, 'arcs', this.arcId, 'chapters', this.chapterId, 'scenes', created.id, 'edit']), error: () => console.error('Erreur lors de la création de la scène') }); } diff --git a/web/src/app/lore/page-create/page-create.component.ts b/web/src/app/lore/page-create/page-create.component.ts index 9295b57..fc897ea 100644 --- a/web/src/app/lore/page-create/page-create.component.ts +++ b/web/src/app/lore/page-create/page-create.component.ts @@ -254,7 +254,7 @@ export class PageCreateComponent implements OnInit, OnDestroy { next: (created) => { const updated = { ...created, values }; this.pageService.update(created.id!, updated).subscribe({ - next: () => this.router.navigate(['/lore', this.loreId, 'pages', created.id]), + next: () => this.router.navigate(['/lore', this.loreId, 'pages', created.id, 'edit']), error: () => this.wizardError = 'Page créée, mais impossible d\'appliquer les valeurs.' }); },