Added remaining elements to alert dialog.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { fetchEntities } from '#/src/entities.js';
|
||||
|
||||
export async function onBeforeRender(_pageContext) {
|
||||
const networks = await fetchEntities({ type: 'primary' });
|
||||
export async function onBeforeRender(pageContext) {
|
||||
const networks = await fetchEntities(pageContext.urlParsed.search.q
|
||||
? { query: pageContext.urlParsed.search.q }
|
||||
: { type: 'primary' });
|
||||
|
||||
return {
|
||||
pageContext: {
|
||||
|
||||
Reference in New Issue
Block a user