Returning actor birth and residence data. Fixed campaign scenes not updating with filters.
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, inject } from 'vue';
|
||||
import { ref, computed, inject } from 'vue';
|
||||
import { parse } from 'path-to-regexp';
|
||||
|
||||
import navigate from '#/src/navigate.js';
|
||||
@@ -208,7 +208,8 @@ const filters = ref({
|
||||
|
||||
const campaign = pageProps.campaigns?.scenes;
|
||||
const campaignIndex = pageProps.campaigns?.index;
|
||||
const campaignScenes = scenes.value.flatMap((scene, index) => (index === campaignIndex ? ['campaign', scene] : scene));
|
||||
|
||||
const campaignScenes = computed(() => scenes.value.flatMap((scene, index) => (index === campaignIndex ? ['campaign', scene] : scene)));
|
||||
|
||||
function getPath(targetScope, preserveQuery) {
|
||||
const path = parse(routeParams.path).map((segment) => {
|
||||
|
||||
Reference in New Issue
Block a user