Ajout de 2 fonctionnalitées principales : import PDF que ce soit pour les règles ou les campagnes directement.
Fonctionnalité de comparaison PDF / campagne pour faire un mix et demander des conseils à l'IA
This commit is contained in:
@@ -31,6 +31,8 @@ export class ChapterCreateComponent implements OnInit, OnDestroy {
|
||||
campaignId = '';
|
||||
arcId = '';
|
||||
arcName = '';
|
||||
/** Arc parent de type hub : un "chapitre" y est présenté comme une "quête". */
|
||||
isHub = false;
|
||||
private existingChapterCount = 0;
|
||||
|
||||
constructor(
|
||||
@@ -62,6 +64,7 @@ export class ChapterCreateComponent implements OnInit, OnDestroy {
|
||||
}).subscribe(({ campaign, allCampaigns, treeData }) => {
|
||||
const currentArc = treeData.arcs.find(a => a.id === this.arcId);
|
||||
this.arcName = currentArc?.name ?? '';
|
||||
this.isHub = currentArc?.type === 'HUB';
|
||||
this.existingChapterCount = treeData.chaptersByArc[this.arcId]?.length ?? 0;
|
||||
|
||||
this.layoutService.show(buildCampaignSidebarConfig(campaign, allCampaigns, treeData, this.campaignId));
|
||||
|
||||
Reference in New Issue
Block a user