Scans pages are also refreshed when the library item is updated
This commit is contained in:
parent
1c023e6a01
commit
1ddcd68286
|
@ -99,6 +99,7 @@ export default async function Mail(
|
|||
paths.push(`/library/${body.entry.slug}`);
|
||||
serverRuntimeConfig.locales?.map((locale: string) => {
|
||||
paths.push(`/${locale}/library/${body.entry.slug}`);
|
||||
paths.push(`/${locale}/library/${body.entry.slug}/scans`);
|
||||
body.entry.subitem_of.map((parentItem) => {
|
||||
paths.push(`/${locale}/library/${parentItem.slug}`);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue