Added actors admin panel with bulk merge. Fixed merge failing if source and target actor have conflicting network profiles.

This commit is contained in:
2026-06-17 00:05:42 +02:00
parent 994908ef6a
commit 721eaa5d07
28 changed files with 548 additions and 52 deletions

View File

@@ -0,0 +1,19 @@
import { fetchActors } from '#/src/actors.js';
export default async function onBeforeRender(pageContext) {
const { actors } = await fetchActors({
query: pageContext.urlParsed.search.q,
}, {
limit: 100,
// order: pageContext.urlParsed.search.order?.split('.') || ['likes', 'desc'],
}, pageContext.user);
return {
pageContext: {
title: 'Actors',
pageProps: {
actors,
},
},
};
}