diff --git a/site/character_page/character_page.vue b/site/character_page/character_page.vue index 24013f3..1b2637b 100644 --- a/site/character_page/character_page.vue +++ b/site/character_page/character_page.vue @@ -51,7 +51,7 @@
- +
diff --git a/site/character_page/images.vue b/site/character_page/images.vue index 52c69dc..17fa638 100644 --- a/site/character_page/images.vue +++ b/site/character_page/images.vue @@ -38,6 +38,9 @@ private readonly character!: Character; @Prop private readonly usePreview?: boolean; + @Prop + private readonly injectedImages?: CharacterImage[] | null; + private shown = false; previewImage = ''; images: CharacterImage[] = []; @@ -64,6 +67,10 @@ } async resolveImages(): Promise { + if ((this.injectedImages) && (this.injectedImages.length)) { + return this.injectedImages; + } + const c = await core.cache.profileCache.get(this.character.character.name); if ((c) && (c.meta) && (c.meta.images)) { @@ -80,4 +87,4 @@ } } } - \ No newline at end of file +