Refactors loading function
* Initialize service component and handler in hooks * Dynamically watch the config instead of a reload on each page * Uses derived store for public server config * Moves service data in its own page data property * Reverts to a array to store group/services
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import type { ServiceHandler } from '../service';
|
||||
import type { ServiceComponentPath, ServiceHandler } from '../service';
|
||||
|
||||
export const handle: ServiceHandler = () => {
|
||||
return { data: {}, componentPath: 'prowlarr/ProwlarrContent.svelte' };
|
||||
return { prowlardata: 'coucou' };
|
||||
};
|
||||
|
||||
export const path: ServiceComponentPath = 'prowlarr/ProwlarrContent.svelte';
|
||||
|
||||
Reference in New Issue
Block a user